diff options
author | caminsha <c.96marco@hotmail.com> | 2020-01-31 03:24:14 +0100 |
---|---|---|
committer | caminsha <c.96marco@hotmail.com> | 2020-01-31 03:24:14 +0100 |
commit | 06b95ac17e6b48c58f5eb53c1aa8393fc4686d9c (patch) | |
tree | 25246d6961f3d8f5fefe0dddcfe64b31356761a0 /go.html.markdown | |
parent | 9b19efa3ce6c4797398dea585d9e4b5f13ae4060 (diff) | |
parent | 1ada1d35bb0d34afe41451c4921a7bb6c7ebe259 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'go.html.markdown')
-rw-r--r-- | go.html.markdown | 6 |
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 |