Try changing the call to New to name the template the same as the first parameter to ParseFiles
t, _ := template.New(templates.BASE).Funcs(funcMap).ParseFiles(templates.BASE, templates.NOTIFICATIONS, templates.TICKER, templateName) There is something odd about how ParseFiles works if the name in New doesn't match. -- 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. For more options, visit https://groups.google.com/d/optout.