News for hackers. Stuff that matters.
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.)
Re:Go mod’s lesser known features by verst on Friday April 01, 2022 @12:24AM (#30875168)
I literally ran into this 3 hours ago and couldn't figure out why. That explains it! Thanks for the insight!
Re:Go mod’s lesser known features by ayanamist on Friday April 01, 2022 @01:15AM (#30875389)
workspace of Go1.18 may solve your issues https://sebastian-holstein.de/post/2021-11-08-go-1.18-featur...