Refactor the interface in template.go.
InitTemplates() takes a map of template paths to file paths, and returns a map of parsed template to file paths. Add WriteTemplate(), which takes a parsed template and a file path, and generates VCL at the path from a spec and the template. Meant for iteration on the map returned by InitTemplates().
Showing
File moved
Please register or sign in to comment