Fix typo in build tag description

This commit is contained in:
Ben Davis 2020-12-03 13:16:43 -07:00 committed by GitHub
parent 4b1e68ee2f
commit 09f41ab74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ Go comes with a good standard library and a sizeable community.
line comment */ line comment */
/* A build tag is a line comment starting with // +build /* A build tag is a line comment starting with // +build
and can be execute by go build -tags="foo bar" command. and can be executed by go build -tags="foo bar" command.
Build tags are placed before the package clause near or at the top of the file Build tags are placed before the package clause near or at the top of the file
followed by a blank line or other line comments. */ followed by a blank line or other line comments. */
// +build prod, dev, test // +build prod, dev, test