Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: strip the http or https:// of go get https://github.com/xyz #12701

Closed
thewhitetulip opened this issue Sep 21, 2015 · 2 comments
Closed

Comments

@thewhitetulip
Copy link

~$ go get https://github.com/kabukky/journey
package https:/github.com/kabukky/journey: "https://" not allowed in import path.

this is the output currently, we can modify the go tool to strip the http or https and download the code. I would like to work on this if it is accepted!

@davecheney
Copy link
Contributor

Sorry. go get works on package names, not urls. Adding support to transparently convert urls to package paths would confuse this message and also bloom into a rash of additional feature requests for other url styles to be support (ssh:// ?)

@thewhitetulip
Copy link
Author

Okay, cool.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
@golang golang unlocked this conversation Nov 15, 2019
@bradfitz bradfitz changed the title strip the http or https:// of go get https://girhub.com/xyz cmd/go: strip the http or https:// of go get https://github.com/xyz Nov 15, 2019
@golang golang locked and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants