..\src\Handlers\HandleRoot.go:4:2: cannot find package "_/D_/work/GoPath/src/Server/vendor/github.com/gin-gonic/gin" in any of:
C:\Go\src\_\D_\work\GoPath\src\Server\vendor\github.com\gin-gonic\gin (from $GOROOT)
D:\work\GoPath\src\_\D_\work\GoPath\src\Server\vendor\github.com\gin-gonic\gin (from $GOPATH)
如上,在vendor目录全路径前加GOROOT或GOPATH后再去搜索包????直接忽略了vendor目录本身?
有疑问加站长微信联系(非本文作者)