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

Set default service version to module version #456

Open
axw opened this issue Feb 26, 2019 · 1 comment
Open

Set default service version to module version #456

axw opened this issue Feb 26, 2019 · 1 comment
Labels

Comments

@axw
Copy link
Member

axw commented Feb 26, 2019

Go 1.12 introduces https://golang.org/pkg/runtime/debug/#BuildInfo, which will report module information if the program was built using modules.

If no service version is specified, we should default to the main module version.

@axw
Copy link
Member Author

axw commented Feb 26, 2019

This doesn't really work, since there's no way to specify the main module's version, only the versions of dependencies. Relevant: golang/go#29814.

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

4 participants