Skip to content

Commit

Permalink
entgql: remove unnecessary Funcs call (#234)
Browse files Browse the repository at this point in the history
Because in `gen.NewTemplate()` we already call `Funcs(Funcs)`
  • Loading branch information
giautm authored Feb 18, 2022
1 parent 9936a47 commit 55ffdd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion entgql/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ var (

func parseT(path string) *gen.Template {
return gen.MustParse(gen.NewTemplate(path).
Funcs(gen.Funcs).
Funcs(TemplateFuncs).
ParseFS(templates, path))
}
Expand Down

0 comments on commit 55ffdd8

Please sign in to comment.