[go] file download and storage directory after go get when go module is enabled

Time:2021-8-27

When the go module is enabled, it is executed

go env -w GO111MODULE=on

 

Then execute go get XXXXX

The file will be stored in $gopath / PKG / mod

 

And the uppercase letters in the directory name will be converted to lowercase letters, preceded by one!

 

For example:

go get github.com/GoAdminGroup/[email protected]

 

Documents are stored in

 

Recommended Today

Less sass SCSS stylus of CSS preprocessor

Let’s ask ourselves a question: why do we need a preprocessor?The answer is self-evident, that is, CSS itself has some disadvantages: The syntax is not strong enough to be written nested, resulting in unclear style logic in the project. There is no variable and logical reuse mechanism. When it is necessary to reuse code, you […]