使用golang 1.11以上版本的朋友,開啟GO11MODULE=on ,並且確保實驗目錄不在GOPATH ... module go-mod require packagepath/pkg v0.0.0 replace packagepath/pkg => .
確定! 回上一頁