Hi, I am trying to add html comment (yes, they will be removed). I believe it strips the comments after processing the template. If you put non-existing property inside html comments, it throws error. Maybe better to strip comments before processing the template?
`<!-- <input value='{{.nonExistingData}}'> -->` I would paste the whole error but you have to search needle in haystack. Basically says* "can't evaluate field nonExistingData"*. Have a nice day. -- 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/10547051-0324-4257-a81d-33644d92bca5n%40googlegroups.com.