-
Notifications
You must be signed in to change notification settings - Fork 85
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
Installed binary contains version number in name #62
Comments
It's in go get, but you can workaround this by using a subpath. |
@niemeyer Can you give an example of what that looks like, please? |
@HaraldNordgren Ah, sorry that it wasn't clear. It should work the same as when you're using any other import paths: example.com/foo.v1/bar |
I don't quite remember why I needed this back in 2018, but I think my intention wash to be able to run the binary as But maybe that's not accurate though? |
Yeah, that's what was explained above. It gets its name from the last element of its own path. |
Running
I get an installed binary called
gometalinter.v1
. I would expect to simple call a binary calledgometalinter
directly, but that does not work.Is that something that can be fixed in gopkg? Or is this dependent on logic within
go get
?The text was updated successfully, but these errors were encountered: