aboutsummaryrefslogtreecommitdiff
path: root/content/slices/prog020.go
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/slices/prog020.go
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/slices/prog020.go')
-rw-r--r--content/slices/prog020.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/slices/prog020.go b/content/slices/prog020.go
index 472f68a..548225c 100644
--- a/content/slices/prog020.go
+++ b/content/slices/prog020.go
@@ -1,3 +1,5 @@
+// +build OMIT
+
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.