Go Module Management (1)
Golang manages dependencies by modules.
A module is a collection of packages.
Modules can be downloaded from version control repositories or from module proxy servers.
A go.mod file declares module path, version and dependencies. It is in the module root directory.
A package is a collection of source files which are compiled together.
package path = module path + the subdirectory

浙公网安备 33010602011771号