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

GopherJS

GopherJS is a transpiler that converts Go code into pure JavaScript code. Using GopherJS, we can write the front-end code in Go that will work across all major web browsers that support JavaScript. This technology allows us to unleash the power of Go inside the web browser, and without it, Isomorphic Go would not be possible.

In this chapter, we will show you how to install GopherJS. We will cover GopherJS in greater detail in Chapter 3Go on the Front-End with GopherJS.

Getting up and running with GopherJS consists of the following steps:

  1. Installing GopherJS
  2. Installing essential GopherJS bindings
  3. Getting familiar with GopherJS on the command line

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