probo icon indicating copy to clipboard operation
probo copied to clipboard

Replace `fmt.Sprintf` email templates with Go `text/template` embedded templates

Open gearnode opened this issue 1 year ago • 2 comments

Currently, email bodies are constructed using fmt.Sprintf with plain string variables. We plan to migrate to Go’s text/template embedded templating system to improve maintainability, readability, and safety of email content formatting.

gearnode avatar Aug 04 '25 10:08 gearnode

Hi @gearnode, please review my pull request.

rhythmp17 avatar Aug 17 '25 07:08 rhythmp17

We have moved to a new templating system for emails.

SachaProbo avatar Dec 16 '25 15:12 SachaProbo