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

Comments

@thewhitetulip
Copy link

@thewhitetulip thewhitetulip commented Sep 21, 2015

~$ 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

This comment has been minimized.

Copy link
Contributor

@davecheney davecheney commented Sep 21, 2015

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:// ?)

@davecheney davecheney closed this Sep 21, 2015
@thewhitetulip

This comment has been minimized.

Copy link
Author

@thewhitetulip thewhitetulip commented Sep 21, 2015

Okay, cool.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
@golang golang unlocked this conversation Nov 15, 2019
@bcmills bcmills removed the FrozenDueToAge label 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.