shiguanghuxian / etcd-manage

一个现代的etcd v3管理ui
http://140.143.234.132:10280/ui/#/key/kv
MIT License
244 stars 61 forks source link

无法编译 #42

Closed LiuWeiMr closed 4 years ago

LiuWeiMr commented 4 years ago

运行make build报错: main.go:8:2: cannot find package "github.com/shiguanghuxian/etcd-manage/program" in any of: /usr/local/go/src/github.com/shiguanghuxian/etcd-manage/program (from $GOROOT) /Users/liuwei/go/src/github.com/shiguanghuxian/etcd-manage/program (from $GOPATH) make: *** [build] Error 1

查找原因是仓库找不到,直接在浏览器里访问这个仓库报404 github.com/shiguanghuxian/etcd-manage/program

shiguanghuxian commented 4 years ago

这个项目还没有用go mod你需要把项目放到你的GOPATH里,进行编译,且GO111MODULE=off或GO111MODULE= auto

LiuWeiMr commented 4 years ago

这个项目还没有用go mod你需要把项目放到你的GOPATH里,进行编译,且GO111MODULE=off或GO111MODULE= auto

嗯嗯,解决了,多谢