Hello,
I am using template.ParseFiles to read files but the problem is the list of templates is going bigger day by day and I need all of them to be loaded.
I need to do something like:
var temp_pages = template.Must(template.ParseFiles("/temps1/*.html","/temps2/*.html")
/temps1/* == will read all the html files in temps1 folder
/temps1/* == will read all the html files in temps2 folder
I know I can use ParseGlob but using that I can access only one folder.
Thanks