1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:14:45 -07:00

cmd/present: move critical _ import to another file

This was preventing the playground /compile and /share handlers
from being registered under Managed VMs.

Change-Id: I690bd50abc2f42b30956e734903d09487f712d4a
Reviewed-on: https://go-review.googlesource.com/14665
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Andrew Gerrand 2015-09-17 13:07:34 +10:00
parent ffb6076c75
commit 51ebb3f1be
2 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,6 @@ import (
"mime"
"golang.org/x/tools/present"
_ "golang.org/x/tools/playground"
)
func init() {

View File

@ -10,6 +10,8 @@ import (
"net/url"
"golang.org/x/tools/present"
_ "golang.org/x/tools/playground"
)
func initPlayground(basepath string, origin *url.URL) {