The github.com/jba/templatecheck package[0] can validate field references 
and other operations of a text/template or html/template in tests or during 
program startup. It also works for github.com/google/safehtml/template[1].

[0] https://pkg.go.dev/github.com/jba/templatecheck 
[1] https://pkg.go.dev/github.com/google/safehtml/template

-- 
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 on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a517b247-50d4-40a3-a191-69d8c5c34e80n%40googlegroups.com.

Reply via email to