AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using Temple to Call Go Functions in Templates
This chapter discusses the ability to call Go functions inside templates using Temple. It explores the initial design of Temple based on view models and the request for adding arbitrary code in templates. It also highlights the limitations of the HTML template package in Go and the extensibility of Temple.