1. 程式人生 > >go can't find import: "github.com/** 錯誤

go can't find import: "github.com/** 錯誤

go get 後 go build 錯誤

can't find import: "github.com/ 

原因:

1.gopath 沒配好

2.go get 後要先 go install ,才可以go build

下面只是windows下的: