playground

command module
Version: v0.0.0-...-9480d85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: BSD-2-Clause Imports: 16 Imported by: 0

README

GopherJS Playground

The playground is a place where users can explore GopherJS without needing to install anything, or to share code with others.

Development

To update the entire playground environment, just run go generate github.com/gopherjs/gopherjs.github.io/playground. It will install your local version of GopherJS compiler, build the playground, make a temporary copy of Go to /tmp/gopherjsplayground_goroot, rebuild and copy the standard library into the pkg directory.

Working on the playground application itself is made easier by using the gopherjs serve command to rebuild and serve the playground every time you refresh the browser.

gopherjs serve

Then open http://localhost:8080/github.com/gopherjs/gopherjs.github.io/playground.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL