GopherJS is a compiler from Go to JavaScript that targets browser VMs.
The package github.com/gopherjs/gopherjs
is the compiler program, responsible for transpiling Go code to JavaScript.
The package github.com/gopherjs/gopherjs/js
provides an API for
interacting with native JavaScript.
Because of the limited runtime environment afforded by a JavaScript VM (especially in the browser), GopherJS provides