【发布时间】:2018-10-31 06:36:27
【问题描述】:
我正在尝试在我的 golang 代码中导入一个包。但它向我显示了这个错误:
在以下任何一个中都找不到包“github.com/mattbaird/jsonpatch”: /opt/go/src/github.com/mattbaird/jsonpatch(来自 $GOROOT) /chaincode/input/src/github.com/mattbaird/jsonpatch(来自 $GOPATH) /opt/gopath/src/github.com/mattbaird/jsonpatch"
有人可以帮我解决这个问题吗?
谢谢。
【问题讨论】:
-
使用
go get安装包 -
@Flimzy,是的,我用过 Go Get