Dodo-playground is a website that allows users to write and run Dodo games. The entire stack of the website is written in Go!
Dodo is a 6502 homebrew Game System. The original 6502 emulator and Dodo simulator was written in Go as a console application. The intent was that the web version would have the simulation run server side and stream the graphics down to the client. In theory this works, but it doesn't scale.
The playground project was put on hold because porting the simulator to JavaScript just didn't sound fun. Thankfully, I stumbled across GopherJS which transpiles Go to JavaScript for front end web development.
Gopherpen is a project template that will let you easily get started with GopherJS
for building a web app. It includes some simple HTML, CSS, and Go code for the frontend.
Make some changes, and refresh in browser to see results. When there are errors in your
frontend Go code, they will show up in the browser console.
Once you're done making changes, you can easily create a fully self-contained static
production binary.