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: can't go get a repo with a URL that ends in .go #5666

Closed
dustin opened this issue Jun 7, 2013 · 2 comments
Closed

cmd/go: can't go get a repo with a URL that ends in .go #5666

dustin opened this issue Jun 7, 2013 · 2 comments

Comments

@dustin
Copy link

dustin commented Jun 7, 2013

What steps will reproduce the problem?
1. go get github.com/dustin/nma.go

What is the expected output?

Success

What do you see instead?

% env GOPATH=/tmp go get -v github.com/dustin/nma.go
github.com/dustin/nma.go (download)
stat github.com/dustin/nma.go: no such file or directory

Which compiler are you using (5g, 6g, 8g, gccgo)?

8g

Which operating system are you using?

MacOS X

Which version are you using?  (run 'go version')

go version devel +8f1fb6b6f141 Mon May 13 13:04:08 2013 -0700 darwin/amd64

(~1.1)

Please provide any additional information below.


This works fine as a dependency.
@cznic
Copy link
Contributor

cznic commented Jun 8, 2013

Comment 1:

Give your repository a better name. I suggest not using 'go' suffix/prefix and no
punctuation. (I have yet to see a C project at github named 'whatever.c')
#WorkingAsIntended

@robpike
Copy link
Contributor

robpike commented Jun 8, 2013

Comment 2:

I agree. This is a poor name choice, somewhat like naming a file "-r" and then
complaining that  "rm -r" didn't remove it.
It's unfortunate but rooting out all the places that would need to understand a
directory suffixed .go isn't going to be fun.

Status changed to Unfortunate.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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