aboutsummaryrefslogtreecommitdiff
path: root/content/strings
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/strings
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/strings')
-rw-r--r--content/strings/basic.go2
-rw-r--r--content/strings/encoding.go2
-rw-r--r--content/strings/range.go2
-rw-r--r--content/strings/utf8.go2
4 files changed, 8 insertions, 0 deletions
diff --git a/content/strings/basic.go b/content/strings/basic.go
index 7397067..886e294 100644
--- a/content/strings/basic.go
+++ b/content/strings/basic.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.
diff --git a/content/strings/encoding.go b/content/strings/encoding.go
index c0f15a4..729b0e5 100644
--- a/content/strings/encoding.go
+++ b/content/strings/encoding.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.
diff --git a/content/strings/range.go b/content/strings/range.go
index 1cd4da0..e0039fb 100644
--- a/content/strings/range.go
+++ b/content/strings/range.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.
diff --git a/content/strings/utf8.go b/content/strings/utf8.go
index d9fa091..491a446 100644
--- a/content/strings/utf8.go
+++ b/content/strings/utf8.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.