Re:Go mod’s lesser known features
by tedunangst on Friday April 01, 2022 @12:06AM
(#30875068)
One feature not listed is that the proxy caches 404 (which is probably reasonable), but the consequence is if you try to build with the new version before pushing the dependency, you won't be able to build without GONOPROXY until the cache expires. (Update dep code, test with go.mod replace =>, tag dep, (forget push), remove replace =>, boops.)
[ Parent
| on HN ]
I literally ran into this 3 hours ago and couldn't figure out why. That explains it! Thanks for the insight!
workspace of Go1.18 may solve your issues
https://sebastian-holstein.de/post/2021-11-08-go-1.18-featur...