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:
parent
ffb6076c75
commit
51ebb3f1be
@ -10,8 +10,6 @@ import (
|
||||
"mime"
|
||||
|
||||
"golang.org/x/tools/present"
|
||||
|
||||
_ "golang.org/x/tools/playground"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
@ -10,6 +10,8 @@ import (
|
||||
"net/url"
|
||||
|
||||
"golang.org/x/tools/present"
|
||||
|
||||
_ "golang.org/x/tools/playground"
|
||||
)
|
||||
|
||||
func initPlayground(basepath string, origin *url.URL) {
|
||||
|
Loading…
Reference in New Issue
Block a user