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

Infer proper package names #8

Closed
bmatsuo opened this issue Mar 27, 2013 · 0 comments
Closed

Infer proper package names #8

bmatsuo opened this issue Mar 27, 2013 · 0 comments
Labels

Comments

@bmatsuo
Copy link
Owner

bmatsuo commented Mar 27, 2013

Gonew should be smarter about package (target) names for "pkg" commands so that supplying the -target flag is unnecessary in most situations. Specifically, it should make the following assumptions:

  • Projects named "go-foo" should contain a package named "foo"
  • Projects named "bar.go" should contain a package named "bar"

Nothing special should be done for projects named "gobaz". It seems to me the most common practice for projects with these names is for the package to be retain the "go" prefix.

@bmatsuo bmatsuo closed this as completed Mar 27, 2013
@bmatsuo bmatsuo reopened this Mar 27, 2013
bmatsuo added a commit that referenced this issue Apr 2, 2013
@bmatsuo bmatsuo closed this as completed Apr 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant