Introduction to Go Modules
golang modules package-managerIntroduction Go modules were introduced in Go 1.11 as an experimental feature, and were made the default in Go 1.13. They provide a way to manage dependencies in Go projects without relying on the GOPATH environment variable and the “vendor” directory. Before Go modules, Go developers typically managed dependencies using the GOPATH environment variable, which specified a directory where all the dependencies for all the Go projects on a machine were stored.