Remove unused template function.
This commit is contained in:
parent
b8d1f97cf5
commit
cd3325054b
1 changed files with 0 additions and 4 deletions
|
|
@ -8,7 +8,6 @@ import (
|
|||
"github.com/go-jet/jet/internal/utils"
|
||||
"path/filepath"
|
||||
"text/template"
|
||||
"time"
|
||||
)
|
||||
|
||||
// GenerateFiles generates Go files from tables and enums metadata
|
||||
|
|
@ -84,9 +83,6 @@ func GenerateTemplate(templateText string, templateData interface{}, dialect jet
|
|||
t, err := template.New("sqlBuilderTableTemplate").Funcs(template.FuncMap{
|
||||
"ToGoIdentifier": utils.ToGoIdentifier,
|
||||
"ToGoEnumValueIdentifier": utils.ToGoEnumValueIdentifier,
|
||||
"now": func() string {
|
||||
return time.Now().Format(time.RFC850)
|
||||
},
|
||||
"dialect": func() jet.Dialect {
|
||||
return dialect
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue