A brief tutorial on Go mods

go_mod_mvs.svg

“Go mod Concise Tutorial” recently studied `go mod` carefully and compiled it into a document. This article is a systematic understanding of `go mod`, not a brief introduction to how to use it. Before `go mod` came out, the community adopted a model similar to `NodeJS`, `vendor`, that is, all packages are stored in the `vendor` directory, but…

This article is transferred from https://jiajunhuang.com/articles/2022_12_16-go_mod.md.html
This site is only for collection, and the copyright belongs to the original author.