Re:How to start a Go project in 2023
by metaltyphoon on Tuesday May 23, 2023 @08:11PM
(#36052397)
Not if your default $GOPROXY is google. Google will cache that package indefinitely?
[ Parent
| on HN ]
That's explicitly not guaranteed. From https://proxy.golang.org:
> Why did a previously available module become unavailable in the mirror? > > proxy.golang.org does not save all modules forever. There are a number of reasons for this…
(I am a googler, but don't work on the go team – my opinions that projects should vendor and actually review their dependencies are my own)
> proxy.golang.org does not save all modules forever. There are a number of reasons for this, but one reason is if proxy.golang.org is not able to detect a suitable license.
If you're vendoring something without an appropriate license, you're skating on thin ice legally.