diff options
author | Russ Cox <rsc@golang.org> | 2011-06-15 19:47:52 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-06-15 19:47:52 -0400 |
commit | 0193139becc629407fc6a8802d33294667086d74 (patch) | |
tree | 8ccb9880c6c911ec8270ff5ac0bcf1923e05727d | |
parent | fb9ea79916f4aeadc5e1960659ea3f9f4be580a1 (diff) | |
download | go-0193139becc629407fc6a8802d33294667086d74.tar.gz go-0193139becc629407fc6a8802d33294667086d74.zip |
undo CL 4557047 / 8818ac606e92
I don't think we've discussed this API enough.
««« original CL description
bike/shed: new package.
It comes up often enough that it's time to provide
the utility of a standard package.
R=r, mirtchovski, adg, rsc, n13m3y3r, ality, go.peter.90, lstoakes, iant, jan.mercl, bsiegert, robert.hencke, rogpeppe, befelemepeseveze, kevlar
CC=golang-dev
https://golang.org/cl/4557047
»»»
R=dsymonds, bradfitz, gri
CC=golang-dev
https://golang.org/cl/4576065
-rw-r--r-- | src/pkg/Makefile | 1 | ||||
-rw-r--r-- | src/pkg/bike/shed/Makefile | 11 | ||||
-rw-r--r-- | src/pkg/bike/shed/colors.go | 26 | ||||
-rw-r--r-- | src/pkg/bike/shed/colors_test.go | 15 |
4 files changed, 0 insertions, 53 deletions
diff --git a/src/pkg/Makefile b/src/pkg/Makefile index 9bed810267..b743660813 100644 --- a/src/pkg/Makefile +++ b/src/pkg/Makefile @@ -18,7 +18,6 @@ DIRS=\ archive/zip\ asn1\ big\ - bike/shed\ bufio\ bytes\ cmath\ diff --git a/src/pkg/bike/shed/Makefile b/src/pkg/bike/shed/Makefile deleted file mode 100644 index a2538a170f..0000000000 --- a/src/pkg/bike/shed/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2011 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. - -include ../../../Make.inc - -TARG=bike/shed -GOFILES=\ - colors.go\ - -include ../../../Make.pkg diff --git a/src/pkg/bike/shed/colors.go b/src/pkg/bike/shed/colors.go deleted file mode 100644 index 0466b04c0c..0000000000 --- a/src/pkg/bike/shed/colors.go +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2011 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. - -/* -Package shed defines colors for bike sheds. - -See http://red.bikeshed.org/ for more details. - -TODO: More colors, colour support, stripes, methods, ponies. -*/ -package shed - -// A Color represents a color, or a colour if you're colonial enough. -type Color uint8 - -const ( - Red Color = iota - Green - Yellow - Blue - Purple - Magenta - Chartreuse - Cyan -) diff --git a/src/pkg/bike/shed/colors_test.go b/src/pkg/bike/shed/colors_test.go deleted file mode 100644 index b2ac3c1e44..0000000000 --- a/src/pkg/bike/shed/colors_test.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2011 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. - -package shed - -import ( - "testing" -) - -func TestCompilerIsNotColorBlind(t *testing.T) { - if Red == Green { - t.Error("Expected Red != Green, but couldn't distinguish them") - } -} |