1
// Copyright 2010 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
5
// Goplay is a web interface for experimenting with Go code.
6
// It is similar to the Go Playground: http://golang.org/doc/play/
8
// To use goplay, first build and install it:
9
// $ cd $GOROOT/misc/goplay
13
// and load http://localhost:3999/ in a web browser.
15
// You should see a Hello World program, which you can compile and run by
16
// pressing shift-enter. There is also a "compile-on-keypress" feature that can
17
// be enabled by checking a checkbox.
19
// WARNING! CUIDADO! ACHTUNG! ATTENZIONE!
20
// A note on security: anyone with access to the goplay web interface can run
21
// arbitrary code on your computer. Goplay is not a sandbox, and has no other
22
// security mechanisms. Do not deploy it in untrusted environments.
23
// By default, goplay listens only on localhost. This can be overridden with
24
// the -http parameter. Do so at your own risk.