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

User-Agent version is not set correctly when using go install #21

Open
ainar-g opened this issue Oct 10, 2023 · 0 comments
Open

User-Agent version is not set correctly when using go install #21

ainar-g opened this issue Oct 10, 2023 · 0 comments

Comments

@ainar-g
Copy link

ainar-g commented Oct 10, 2023

For tagged releases installed using go install, the actual tag version can be obtained from runtime/debug.BuildInfo. See go mod -m "$( which gocurl )" for an example of what can be obtained from there.

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

1 participant