On Monday 28 October 2024 at 13:47:38 UTC+1 Marc Coquand wrote: > I was wondering if there are any best practices or tooling to help you > make sure that all variables are set?
You can pass an the "missingkey=error" option to the template. See https://pkg.go.dev/html/template#Template.Option. -- 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/746e3d3b-955e-4666-9ff4-79fa0b9cb94bn%40googlegroups.com.