将godep更改为以前的版本

时间:2016-08-23 23:33:20

标签: go godeps

我正在尝试将我的godep恢复到以前的版本。我需要v52但是当我跑去go godep时安装了最新的v74。

我尝试在$ GOPATH / bin中替换godep二进制文件。而且正在捡起它。

但问题是,当我尝试运行像godep restore这样的godep或任何我得到的错误时,如下所示。我不知道从哪里开始。

godep: Dep (github.com/BurntSushi/toml) restored, but was unable to load it with error:
    Package (bufio) not found
godep: Dep (github.com/DataDog/datadog-go/statsd) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (github.com/armon/go-metrics) restored, but was unable to load it with error:
    Package (bufio) not found
godep: Dep (github.com/aws/aws-sdk-go/aws) restored, but was unable to load it with error:
    Package (io) not found
godep: Dep (github.com/aws/aws-sdk-go/private/endpoints) restored, but was unable to load it with error:
    Package (fmt) not found
godep: Dep (github.com/aws/aws-sdk-go/private/protocol) restored, but was unable to load it with error:
    Package (crypto/rand) not found
godep: Dep (github.com/aws/aws-sdk-go/private/signer/v4) restored, but was unable to load it with error:
    Package (crypto/hmac) not found
godep: Dep (github.com/aws/aws-sdk-go/private/waiter) restored, but was unable to load it with error:
    Package (fmt) not found
godep: Dep (github.com/aws/aws-sdk-go/service/elasticache) restored, but was unable to load it with error:
    Package (time) not found
godep: Dep (github.com/bradfitz/gomemcache/memcache) restored, but was unable to load it with error:
    Package (bufio) not found
godep: Dep (github.com/garyburd/redigo/internal) restored, but was unable to load it with error:
    Package (strings) not found
godep: Dep (github.com/garyburd/redigo/redis) restored, but was unable to load it with error:
    Package (bufio) not found
godep: Dep (github.com/go-ini/ini) restored, but was unable to load it with error:
    Package (bufio) not found
godep: Dep (github.com/go-stack/stack) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (github.com/inconshreveable/log15) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (github.com/jmespath/go-jmespath) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (github.com/julienschmidt/httprouter) restored, but was unable to load it with error:
    Package (net/http) not found
godep: Dep (github.com/martini-contrib/cors) restored, but was unable to load it with error:
    Package (net/http) not found
godep: Dep (github.com/mattn/go-colorable) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (github.com/mattn/go-isatty) restored, but was unable to load it with error:
    Package (syscall) not found
godep: Dep (github.com/nu7hatch/gouuid) restored, but was unable to load it with error:
    Package (crypto/md5) not found
godep: Dep (golang.org/x/net/context) restored, but was unable to load it with error:
    Package (errors) not found
godep: Dep (golang.org/x/sys/unix) restored, but was unable to load it with error:
    Package (errors) not found
godep: Dep (golang.org/x/text/transform) restored, but was unable to load it with error:
    Package (bytes) not found
godep: Dep (golang.org/x/text/unicode/norm) restored, but was unable to load it with error:
    Package (fmt) not found
godep: Error checking some deps.

0 个答案:

没有答案