go_mod
A first-party Go module (corresponding to a go.mod
file).
Generates go_first_party_package
targets for each directory from the package_sources
field, and generates go_third_party_package
targets based on the require
directives in your go.mod
.
If you have third-party packages, make sure you have an up-to-date go.sum
. Run go mod tidy
directly to update your go.mod
and go.sum
.
Backend: ``