Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: simplify scheme lookup in internal/get/vcs.go #26123
After CL 120998 is merged into the main tree, the vcs ping code will look like:
I believe it can be simplified to:
but I don't want to do that this late in the cycle. We should try the rewrite when the Go 1.12 cycle opens.