~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to misc/goplay/doc.go

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-07-08 05:52:37 UTC
  • mfrom: (29.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130708055237-at01839e0hp8z3ni
Tags: 2:1.1-1ubuntu1
016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
// Goplay is a web interface for experimenting with Go code.
6
6
// It is similar to the Go Playground: http://golang.org/doc/play/
7
 
// 
 
7
//
8
8
// To use goplay:
9
9
//   $ cd $GOROOT/misc/goplay
10
10
//   $ go run goplay.go
11
11
// and load http://localhost:3999/ in a web browser.
12
 
// 
 
12
//
13
13
// You should see a Hello World program, which you can compile and run by
14
14
// pressing shift-enter. There is also a "compile-on-keypress" feature that can
15
15
// be enabled by checking a checkbox.
16
 
// 
 
16
//
17
17
// WARNING! CUIDADO! ACHTUNG! ATTENZIONE!
18
18
// A note on security: anyone with access to the goplay web interface can run
19
19
// arbitrary code on your computer. Goplay is not a sandbox, and has no other
20
 
// security mechanisms. Do not deploy it in untrusted environments. 
21
 
// By default, goplay listens only on localhost. This can be overridden with 
 
20
// security mechanisms. Do not deploy it in untrusted environments.
 
21
// By default, goplay listens only on localhost. This can be overridden with
22
22
// the -http parameter. Do so at your own risk.
23
 
package documentation
 
23
package main