From fba6ccb2a3a677663296815fab3c235dc8d0a54b Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 15 Apr 2014 11:43:38 +1000 Subject: 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 --- content/strings/basic.go | 2 ++ content/strings/encoding.go | 2 ++ content/strings/range.go | 2 ++ content/strings/utf8.go | 2 ++ 4 files changed, 8 insertions(+) (limited to 'content/strings') 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. -- cgit v1.2.3