diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-25 16:09:56 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-27 15:43:56 +0200 |
commit | ee75e2999b66bd9f258a241c487b6677cf2fa071 (patch) | |
tree | c819912b6f68b4d6f96f22a40dab81893ba21984 /tpl | |
parent | 15b64d51da48807c5f896f17b33d8c0d054c9461 (diff) |
Remove the now superflous defaultExtension
And some other unsed fields and methods.
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/tplimpl/template.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index 04f932ddd..17cbb40f3 100644 --- a/tpl/tplimpl/template.go +++ b/tpl/tplimpl/template.go @@ -439,9 +439,6 @@ func isBackupFile(path string) bool { const baseFileBase = "baseof" -var aceTemplateInnerMarkers = [][]byte{[]byte("= content")} -var goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define")} - func isBaseTemplate(path string) bool { return strings.Contains(path, baseFileBase) } |