summaryrefslogtreecommitdiffhomepage
path: root/go.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2020-01-24 20:02:22 +0530
committerGitHub <noreply@github.com>2020-01-24 20:02:22 +0530
commit9f41d38cec5fb891c5450a39a440b948eaf913e5 (patch)
tree82636e5e18ad7df9636d7939e2aa1f6abecf58c9 /go.html.markdown
parent7e27297ea555764a5e690f251205d9323b349bb2 (diff)
parent8e18975548d40ab0de6924ffac38127d7f01fecd (diff)
Merge branch 'master' into dart-formatting
Diffstat (limited to 'go.html.markdown')
-rw-r--r--go.html.markdown6
1 files changed, 6 insertions, 0 deletions
diff --git a/go.html.markdown b/go.html.markdown
index ae99535b..4fc155b5 100644
--- a/go.html.markdown
+++ b/go.html.markdown
@@ -30,6 +30,12 @@ Go comes with a good standard library and a sizeable community.
/* Multi-
line comment */
+ /* A build tag is a line comment starting with // +build
+ and can be execute by go build -tags="foo bar" command.
+ 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. */
+// +build prod, dev, test
+
// A package clause starts every source file.
// Main is a special name declaring an executable rather than a library.
package main