hundreds-father-404
02/11/2022, 6:11 PMhundreds-father-404
02/11/2022, 6:12 PMgo mod download all && go mod tidy
. We also need to figure out how to model it, I think in the past we said you shoudl be able to either have Pants download or use from machine
2. In the meantime, how about changing [golang].expected_version
to be the minimum expected version. If you have Go 1.18, that should work with 1.17 thanks to backwards compat. It's too brittle rn.fast-nail-55400
02/11/2022, 6:24 PMgo-resolve
or other goal to do the resolution for you. We are actually in a position now to check wether go.sum entries are missing for a module. And we could do something similar to Bazel gazelle to run go mod download
to fill in missing go.sum entires (during a go-resolve
run only).fast-nail-55400
02/11/2022, 6:25 PMexpected_version
with how the go
directive in go.mod
worksfast-nail-55400
02/11/2022, 6:26 PMgo
directive indicates that a module was written assuming the semantics of a given version of Go.”
https://go.dev/ref/mod#go-mod-file-gohundreds-father-404
02/11/2022, 6:26 PMminimum_version
, but imo we shouldn't rename until we figure out:
We also need to figure out how to model it, I think in the past we said you shoudl be able to either have Pants download or use from machine