Closed davidzech closed 3 years ago
Per https://github.com/golang/go/wiki/Modules#should-i-commit-my-gosum-file-as-well-as-my-gomod-file go.sum should be checked into the repository.
go.sum
The real world ramifications is that go mod tidy will silently break projects using github.com/google/wire via go generate
go mod tidy
github.com/google/wire
go generate
There are no external dependencies so no go.sum file is generated.
Yeah that makes sense. Also, making wire stick can be solved by explicitly importing subcommands.
wire
Per https://github.com/golang/go/wiki/Modules#should-i-commit-my-gosum-file-as-well-as-my-gomod-file
go.sum
should be checked into the repository.The real world ramifications is that
go mod tidy
will silently break projects usinggithub.com/google/wire
viago generate