O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing GopherJS

We can install GopherJS by issuing the following go get command:

$ go get -u github.com/gopherjs/gopherjs

To find out the current version of gopherjs installed on your system, use the gopherjs version command:

$ gopherjs versionGopherJS 1.9-1</strong>
The major versions of Go and GopherJS must match on your system. We will be using version 1.9.1 of Go and version 1.9-1 of GopherJS in this book.

You can type gopherjs help to get yourself acquainted with the various commands that come with GopherJS:

$ gopherjsGopherJS is a tool for compiling Go source code to JavaScript.Usage:  gopherjs [command]Available Commands:  build compile packages and dependencies doc display documentation for the requested, package, method or symbol ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required