aboutsummaryrefslogtreecommitdiff
path: root/content/go-maps-in-action
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-04-15 11:43:38 +1000
committerAndrew Gerrand <adg@golang.org>2014-04-15 11:43:38 +1000
commitfba6ccb2a3a677663296815fab3c235dc8d0a54b (patch)
treebdfd805ab7817c969bb9dd1f9e6ea1f5f86a3d7a /content/go-maps-in-action
parent26209f9d1cbd0faeef306f1da2c43184d489a9a8 (diff)
go.blog: fix build; add "// +build OMIT" to many samples
We use OMIT instead of ignore so such lines will be omitted from present output. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/87890045
Diffstat (limited to 'content/go-maps-in-action')
-rw-r--r--content/go-maps-in-action/list.go2
-rw-r--r--content/go-maps-in-action/people.go2
2 files changed, 4 insertions, 0 deletions
diff --git a/content/go-maps-in-action/list.go b/content/go-maps-in-action/list.go
index 09feeae..02bea2c 100644
--- a/content/go-maps-in-action/list.go
+++ b/content/go-maps-in-action/list.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build OMIT
+
package main
import "fmt"
diff --git a/content/go-maps-in-action/people.go b/content/go-maps-in-action/people.go
index e724915..ff5d9e3 100644
--- a/content/go-maps-in-action/people.go
+++ b/content/go-maps-in-action/people.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build OMIT
+
package main
import "fmt"