]> Cypherpunks repositories - gostls13.git/commitdiff
gob: annotate debug.go so it's not normally built
authorRob Pike <r@golang.org>
Mon, 23 Jan 2012 16:40:34 +0000 (08:40 -0800)
committerRob Pike <r@golang.org>
Mon, 23 Jan 2012 16:40:34 +0000 (08:40 -0800)
So it's not included in the package by the go tool.

R=iant, fullung, rsc
CC=golang-dev
https://golang.org/cl/5563049

src/pkg/encoding/gob/debug.go

index 4a61d0fb2f8b676c0b17c09cb8e7adc2cdb8000e..6dc7fc9aca0604d523ee262ce55328fe6004fad0 100644 (file)
@@ -2,6 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// Delete the next line to include this file in the gob package.
+// +build ignore
+
 package gob
 
 // This file is not normally included in the gob package.  Used only for debugging the package itself.