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

The templates

Templates are responsible for presenting information to the user in an intuitive and understandable manner. Templates form the view layer of the isomorphic web application. Go templates are a combination of standard HTML markup mixed with a lightweight template language that provides us with the means to perform token substitution, looping, conditional flow of control, template nesting, and the ability to call custom template functions within the template using pipelining constructs. All of the aforementioned activities can be performed using template actions, and we will be using them throughout this book.

The templates for the IGWEB project can be found in the shared/templates folder. They are considered as isomorphic templates, ...

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