1
0
Fork 0

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

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-05 12:45:05.564413829 +0200 CEST m=+0.064843885
package locale

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.141197828 -0700 PDT m=+0.003091629
package sql

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.176755806 -0700 PDT m=+0.038649607
package template

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.166425155 -0700 PDT m=+0.028318956
package template

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.158122512 -0700 PDT m=+0.020016313
package static

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.16263119 -0700 PDT m=+0.024524991
package static

View file

@ -1,5 +1,4 @@
// Code generated by go generate; DO NOT EDIT.
// 2018-07-04 22:00:22.164970025 -0700 PDT m=+0.026863826
package static