diff --git a/Web-Browsers.md b/Web-Browsers.md index 3d6f136..6f6234d 100644 --- a/Web-Browsers.md +++ b/Web-Browsers.md @@ -45,6 +45,12 @@ gopherjs serve --tags=example And access to `http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples/blocks`. +On Windows, you might need to set `GOOS` environment variable: + +``` +set GOOS=linux +``` + # jsgo.io Dave's [jsgo.io](https://jsgo.io/) is so wonderful that you can play your game on browsers. For example, if you want to play `github.com/hajimehoshi/go-inovation`, you can access `https://jsgo.io/github.com/hajimehoshi/go-inovation`. That's it! Note that you would need to put your resources in appropriate paths, or embed your resources in Go by [file2byteslice](https://github.com/hajimehoshi/file2byteslice) or other similar tools.