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

doc: more detailed description of -tags option #17144

Closed
yaojingguo opened this issue Sep 18, 2016 · 1 comment
Closed

doc: more detailed description of -tags option #17144

yaojingguo opened this issue Sep 18, 2016 · 1 comment

Comments

@yaojingguo
Copy link
Contributor

yaojingguo commented Sep 18, 2016

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.7.1 linux/amd64

The description -tags option is:

-tags 'tag list'
    a list of build tags to consider satisfied during the build.
    For more information about build tags, see the description of
    build constraints in the documentation for the go/build package.

tag list needs to be separated by spaces. And https://golang.org/pkg/go/build/ talks about using spaces or commas to separate tags. I think that it will be clearer if a list of build tags is changed to a list of space-separated build tags.

@quentinmit
Copy link
Contributor

I'm going to close this as a dupe of #17148; resolving that will include updating the documentation to clarify what is accepted.

@golang golang locked and limited conversation to collaborators Oct 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants