Skip to content

Commit 6449fc4

Browse files
committed
minor: remove unused parameter
1 parent 037c18b commit 6449fc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/template/template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func GenerateTypes(schema *xsd.Schema, outputDir string) error {
17-
t, err := newTemplate(outputDir)
17+
t, err := newTemplate()
1818
if err != nil {
1919
return err
2020
}
@@ -50,7 +50,7 @@ func GenerateTypes(schema *xsd.Schema, outputDir string) error {
5050
return nil
5151
}
5252

53-
func newTemplate(outputDir string) (*template.Template, error) {
53+
func newTemplate() (*template.Template, error) {
5454
in, err := pkger.Open("/pkg/template/types.tmpl")
5555
if err != nil {
5656
return nil, err

0 commit comments

Comments
 (0)