diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-07-05 12:52:29 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-07-05 12:52:29 -0700 |
commit | 845cf2adba92dc3b646f1e33117c032625ae411a (patch) | |
tree | d993ebfc5436de717f2628b9f1c952c9f333864d /generate.go | |
parent | 7ed8401088aeddc0d217031e923168a26f3f5036 (diff) |
Remove timestamp from generated files
Diffstat (limited to 'generate.go')
-rw-r--r-- | generate.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/generate.go b/generate.go index 266a9fd..e983f11 100644 --- a/generate.go +++ b/generate.go @@ -16,7 +16,6 @@ import ( "path/filepath" "strings" "text/template" - "time" "github.com/tdewolff/minify" "github.com/tdewolff/minify/css" @@ -24,7 +23,6 @@ import ( ) const tpl = `// Code generated by go generate; DO NOT EDIT. -// {{ .Timestamp }} package {{ .Package }} @@ -41,7 +39,6 @@ var generatedTpl = template.Must(template.New("").Parse(tpl)) type GeneratedFile struct { Package, Map string - Timestamp time.Time Files map[string]string Checksums map[string]string } @@ -55,7 +52,6 @@ func generateFile(serializer, pkg, mapName, pattern, output string) { generatedFile := &GeneratedFile{ Package: pkg, Map: mapName, - Timestamp: time.Now(), Files: make(map[string]string), Checksums: make(map[string]string), } |