We learned about resources and more advanced routing last time in episode 24, so let’s switch gears and focus on how to actually render something to the browser.
To write frontend code, you need to learn its templating language, called plush (https://github.com/gobuffalo/plush). Plush offers a more intuitive syntax and access to more powerful functionality than the standard library’s
html/template package, and it gets out of your way more so you can focus on your webapp, not learning another language or syntax.
Plush is really important to learn about, because you’ll need it for any web application you build.
This screencast only scratches the surface. Subscribe to my new screencast series on Go web apps to dive deeper.
Check out the example code on GitHub and keep on rockin', Gophers!