https://play.jsgo.io/
The jsgo playground is an extension of the jsgo compiler. The compiler allows you to easily compile Go to JS using GopherJS, and automatically host the results in an aggressively cached CDN. The playground adds an online editor and many other features (share, deploy etc.). The unique feature of the jsgo playground is that it supports arbitrary import paths. Other Go playgrounds are limited to just the Go standard library. For more for more info: - compiler: https://github.com/dave/jsgo - playground: https://github.com/dave/play Take a look at some of these demos: Here's the simplest demo - it just writes to the console and to the page: - https://play.jsgo.io/github.com/dave/jstest Here's a couple of simple demos that accept files by drag and drop. The first compresses dropped files to a zip. The second compresses images to jpg. They use the Go standard library zip / image libraries, which work flawlessly in the browser: - https://play.jsgo.io/github.com/dave/zip - https://play.jsgo.io/github.com/dave/img The amazing ebiten 2D games library is a perfect example of the power of Go in the browser. Here's some demos: - https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/2048 - https://play.jsgo.io/github.com/hajimehoshi/go-inovation - https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/flappy Check out the help page in the playground or the github page for a full explanation of all the features. Let me know if you have any questions, bugs or feature suggestions... I really hope you have fun exploring and I hope it's useful! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
