3 ms·
Most likely people don't know where the doc is, Go documentation for module is excellent: https://github.com/golang/go/wiki/Modules https://github.com/golang/go
by Thaxll 6y ago
Most likely people don't know where the doc is, Go documentation for module is excellent: https://github.com/golang/go/wiki/Modules https://github.com/golang/go/wiki/Modules
- mfer 6y agoA big problem with this documentation is that it's not with the rest of the docs and isn't found in search on golang.org. The docs provide enough to make modules work but are far from excellent in terms of docs. These docs also highlight things about how the Go team thinks. For example, if a project is versioned at v2 or later they recommend incrementing the major version of your code when adopting modules. Instead of modules being support tooling for the app it's designed and thought of as important as a major version change.
- saturn_vk 6y agoBut that's not the go modules documentation. That's just some wiki put together with duct tape and good intentions. The real documentation is here: https://golang.org/cmd/go/#hdr-Modules__module_versions__and_more https://golang.org/cmd/go/#hdr-Modules__module_versions__and... and is identical to the output of `go help modules`