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

Initializing the local storage inspector web page

In order to initialize the event handlers on the local storage inspector web page, we need to add the following line of code in the localstorage-demo case, inside the initializePage function found in the client.go source file:

localstoragedemo.InitializePage()

Calling the InitializePage function, defined in the localstoragedemo package, will add the event listeners for the Save and Clear All buttons.

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