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

Suggestions for working with expanded package patterns? #1

Closed
webframp opened this issue Apr 21, 2020 · 3 comments
Closed

Suggestions for working with expanded package patterns? #1

webframp opened this issue Apr 21, 2020 · 3 comments

Comments

@webframp
Copy link

Hey @FiloSottile thanks for this, much cleaner install method for managing local go installed tools.

A few things I use such as https://github.com/cweill/gotests default to an expanded path install method such as:

$ go get -u github.com/cweill/gotests/...

What do you recommend for installing these with gomod? Right now it just throws the following:

go: malformed import path "gomod-.../2020-04-21": trailing dot in path element
@FiloSottile
Copy link
Owner

I really need to rewrite this as a proper Go program that uses go list to get the real version, etc. but in the meantime I'll just strip /... when picking the short name.

@FiloSottile
Copy link
Owner

Should be available via brew upgrade! Let me know if it works :)

@webframp
Copy link
Author

Can confirm. That works well for now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants