O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we introduced you to programming with Go on the front-end using GopherJS. We introduced you to the DOM and showed how you can access and manipulate it using GopherJS. We walked you through several microexamples to get you acquainted with what coding with GopherJS looks like. We then proceeded to show you fully fleshed out examples.

We showed you how to display the alert dialog and display a custom message. We also showed you how to change the CSS style property of an element. We proceeded to show you how to call JavaScript's typeof operator from within the confines of Go using the jsbuiltin package. We showed you how to create a simple lowercase text transformer and demonstrated how to send an XHR Post using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required