Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No.

As explained in the post, if a transitive dependency asks for a later version than you have in go.mod, that’s an error if -mod is readonly (the default for non-get non-tidy commands).

I encourage you to experiment with it!

This is exactly how the “stricter” commands of other package managers work with lockfiles.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: