diff options
Diffstat (limited to 'misc/goplay')
| -rw-r--r-- | misc/goplay/doc.go | 12 | ||||
| -rw-r--r-- | misc/goplay/goplay.go | 2 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/misc/goplay/doc.go b/misc/goplay/doc.go index fd4a28e71..61e74a000 100644 --- a/misc/goplay/doc.go +++ b/misc/goplay/doc.go @@ -4,20 +4,20 @@  // Goplay is a web interface for experimenting with Go code.  // It is similar to the Go Playground: http://golang.org/doc/play/ -//  +//  // To use goplay:  //   $ cd $GOROOT/misc/goplay  //   $ go run goplay.go  // and load http://localhost:3999/ in a web browser. -//  +//  // You should see a Hello World program, which you can compile and run by  // pressing shift-enter. There is also a "compile-on-keypress" feature that can  // be enabled by checking a checkbox. -//  +//  // WARNING! CUIDADO! ACHTUNG! ATTENZIONE!  // A note on security: anyone with access to the goplay web interface can run  // arbitrary code on your computer. Goplay is not a sandbox, and has no other -// security mechanisms. Do not deploy it in untrusted environments.  -// By default, goplay listens only on localhost. This can be overridden with  +// security mechanisms. Do not deploy it in untrusted environments. +// By default, goplay listens only on localhost. This can be overridden with  // the -http parameter. Do so at your own risk. -package documentation +package main diff --git a/misc/goplay/goplay.go b/misc/goplay/goplay.go index 9ce4f89ae..94d04139d 100644 --- a/misc/goplay/goplay.go +++ b/misc/goplay/goplay.go @@ -44,7 +44,7 @@ func main() {  	log.Fatal(http.ListenAndServe(*httpListen, nil))  } -// FrontPage is an HTTP handler that renders the goplay interface.  +// FrontPage is an HTTP handler that renders the goplay interface.  // If a filename is supplied in the path component of the URI,  // its contents will be put in the interface's text area.  // Otherwise, the default "hello, world" program is displayed. | 
