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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.101.81