I'm sure that there are developers making much prettier Go code with GopherJS.
There's a default package that comes with GopherJS which is allows for interacting with the JS world and the DOM. It's pretty raw and can result in what you are seeing as ugly.
There's a default package that comes with GopherJS which is allows for interacting with the JS world and the DOM. It's pretty raw and can result in what you are seeing as ugly.
There are some great new packages being developed which give a more Go style. One is: http://godoc.org/honnef.co/go/js/dom
This demo uses only the default packages, which is one of the goals of the project.