1

I know Go downloads packages using git from github.

You can install go module with go get storj.io/uplink, it will be installed under ~/go/src/storj.io/uplink but the module's github url is : https://github.com/storj/uplink.

How does Go find the github URL and why it is not installed under ~/go/src/github.com/?

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
danny
  • 1,095
  • 2
  • 12
  • 27

1 Answers1

0

They're probably using a Vanity Server that operates using Remote Import Paths.

agillgilla
  • 859
  • 1
  • 7
  • 22
  • 1
    @danny, that just serves the documentation for any publicly available package and has nothing to do with go get. In fact, pkg.go.dev has to use go get in some form or another to generate the documentation from the source code. – Peter Mar 07 '20 at 01:27