DEV Community

Discussion on: Why is GO111MODULE everywhere, and everything about Go Modules (updated with Go 1.20)

Collapse
 
daodennis profile image
daodennis

Thank you for this article Maël!
You might find this as a breath of fresh air, regarding "Remember that go get also updates your go.mod"
: groups.google.com/g/golang-tools/c...
go build, go test, and others - stop updating go.mod by default

Seems like there is a flag that certain Go tools have, the "-mod=readonly" flag. Might be worth adding to your article.