I have not thought of a way how to have 2 or multiple files as a separate string to be parsed by API that request for ...string The end goal to verify HTML template for error through a function call, is there a better approach?
func checkHTML(str string) { template.ParseFiles(strHTML) } -- 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/7a2f33ef-d8e3-45cf-afa5-29b641962180%40googlegroups.com.