Hi! On https://pkg.go.dev/cmd/go#hdr-Remote_import_paths, in the section about using meta tags to redirect from some domain to a known forge, it says:
> For example, > > `import "example.org/pkg/foo"` > > will result in the following requests: > > `https://example.org/pkg/foo?go-get=1` > > If that page contains the meta tag > > `<meta name="go-import" content="example.org git > https://code.org/r/p/exproj">` > > the go tool will verify that https://example.org/?go-get=1 contains > the same meta tag and then git clone https://code.org/r/p/exproj into > GOPATH/src/example.org. This is confusing me. I get that https://example.org/pkg/foo?go-get=1 should have a meta tag of this form: ``` <meta name="go-import" content="example.org git https://code.org/r/p/exproj"> ``` But what meta tag should the / page have? The same? Then just doing this with static files (which I vastly prefer) is not possible. It's also unclear what purpose this has (or why the request to /pkg/foo is made). Can anybody shed some light? Best, Tobias -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a0a7d30f-8e83-4769-8e03-dd57a76a8a88%40skade.local.