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