1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00

go.tools/cmd/godoc: use playground package from go.tools

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/11507044
This commit is contained in:
Andrew Gerrand 2013-07-24 17:25:24 +10:00
parent 8cc9c49348
commit 7375911b0e

View File

@ -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() {