• Geoff Simmons's avatar
    Refactor the interface in template.go. · 163c3a6e
    Geoff Simmons authored
    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().
    163c3a6e
Name
Last commit
Last update
..
testdata Loading commit data...
spec.go Loading commit data...
template.go Loading commit data...
vcl_test.go Loading commit data...