14 Jan 2021 17:32:37 Vasiliy Tolstov <v.tols...@selfip.ru>:
Hi. I can't find in google how to solve my problem. Inside
text/template i want to check some passed data and return some
descriptive text if conditions not matching.
I don't have ability to check it before template executed. Does it
possible?
I am not sure your exact problem. So, you have a function that accept
data and you want to check the data before passing it to template
execution? Why you can not check it before template executed?
--
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/cf99443a-9571-4e9e-90a1-5f2e37d7b75f%40gmail.com.