Questions tagged [gopherjs]

A compiler from Go to JavaScript for running Go code in a browser.

GopherJS compiles Go code (golang.org) to pure JavaScript code. Its main purpose is to give you the opportunity to write front-end code in Go which will still run in all browsers.


Resources :

  1. GitHub
  2. GopherJS Playground
18 questions
4
votes
1 answer

How to use a function from a JavaScript package produced by GopherJS?

I have written a simple package in Go and I have compiled with gopherJS . I have then included it my HTML via