Answer the question
In order to leave comments, you need to log in
Why does Golang install packages in the wrong place?
When installing a package ( go get github.com/go-sql-driver/mysql
), golang places it not in $GOPATH/src/
, but in $GOPATH/pkg/mod
Moreover, in $GOPATH
addition to pkg/, there is neither bin/ nor src/
Please help, how does this happen?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question