1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Remove timestamp from generated files

This commit is contained in:
Frédéric Guillot 2018-07-05 12:52:29 -07:00
parent 7ed8401088
commit 845cf2adba
8 changed files with 0 additions and 11 deletions

View file

@ -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),
}