logo Contact

Thoughts

Sharing my journey, insights, and experiences in tech and life.

Page layouts in Go

This post explains how to use Go’s template block and define expressions for creating reusable page layouts. It demonstrates avoiding repetition in HTML templates for a blog application. Learn to separate layout from content for better maintainability.

On Mar 12, 2022 software-development go html templates golang