文章目录
  1. 1. module

How to Use Go Modules

module

managing libraries : various of develop’s dependencies.

commonly modules contains of one project or library and contain a collection of Go packages that are then released together.

Go module solve many problems with GOPATH: chose chose direcotry and specify version

  • go.mod
    tell you module version ,path, directives
文章目录
  1. 1. module