Hi - The index includes the module/version that the proxy.golang.org ever successfully served. Go commands with GOPROXY=https://proxy.golang.org env var will fetch the specified module/version through the proxy and cause the proxy to learn about them. As long as the hosting sites are publicly accessible and follow the remote import path protocol (https://golang.org/cmd/go/#hdr-Remote_import_paths) the go module mirror can access the data and the index.golang.org will list them in the result. The fastest way to teach the proxy and index about your module version is to run 'GOPROXY=https://proxy.golang.org go get module@version'.
On Sat, May 25, 2019 at 10:27 PM Russtopia <[email protected]> wrote: > Perhaps a dumb question and if so I apologize in advance. Reading the > page at https://proxy.golang.org/ I'm unclear as to how the index is > being populated. Is there an API to submit modules to the index, or is > it curated by real humans, and what is the process if so, etc. > > Does one have to host one's modules at a 'blessed' site to make it > into this new index? I see big players like github.com, golang.org, > but other non-corporate domains as well, in > https://index.golang.org/index > > -R. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CAN4yCu82S2nFEgnZKEEbu2naZeX5Z8XvZ%2B2fYjNVmbTAC1v3kg%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- __ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAM7qfQ%2By1P08bFKX2rptBMmMQbnrH%3DQji2Z50u03UNayj%2BnUsg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
