Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 322 Bytes

remote-selection.md

File metadata and controls

10 lines (8 loc) · 322 Bytes

Remote selection

Yet again similarly to go get, xgo uses the repository remote corresponding to the import path being built. To switch to a different remote while preserving the original import path, use the --remote argument.

xgo --remote github.com/golang/tools golang.org/x/tools/cmd/goimports
...