From 7375911b0e347b980aba5f54893a032788256548 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 24 Jul 2013 17:25:24 +1000 Subject: [PATCH] go.tools/cmd/godoc: use playground package from go.tools R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/11507044 --- cmd/godoc/play.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cmd/godoc/play.go b/cmd/godoc/play.go index c3c64b080b4..41ed15b7bb7 100644 --- a/cmd/godoc/play.go +++ b/cmd/godoc/play.go @@ -2,12 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build playground - -// TODO(bradfitz,adg): move the -// code.google.com/p/go.talks/pkg/playground package elsewhere, so -// go.tools doesn't depend on go.talks. - package main import ( @@ -16,7 +10,9 @@ import ( "go/format" "net/http" - _ "code.google.com/p/go.talks/pkg/playground" + // This package registers "/compile" and "/share" handlers + // that redirect to the golang.org playground. + _ "code.google.com/p/go.tools/godoc/playground" ) func init() {