On Mon, Oct 28, 2024 at 02:15:05PM +0200, Marc Coquand wrote:
> 
> Hey!
> 
> Currently I use gin as my framework and write my HTML markup together
> with go templates.
> 
> It happens every so often that I miss to set variables, and so I was
> wondering if there are any best practices or tooling to help you make
> sure that all variables are set?

Also check out https://github.com/jba/templatecheck
It allows you to check the templates which otherwise you would only figure out 
by running them manually.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/ZyBQAKyeacCUdcar%40arp.lijzij.de.

Reply via email to