Skip to content

Commit

Permalink
Print out which files are being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed May 25, 2020
1 parent 01d0dd6 commit ffb81bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ func GenerateTypes(schema *xsd.Schema, outputDir string) error {
if err != nil {
return err
}
f, err := os.Create(fmt.Sprintf("%s/models.go", dir))
goFile := fmt.Sprintf("%s/models.go", dir)
fmt.Printf("\tGenerating '%s'\n", goFile)
f, err := os.Create(goFile)
if err != nil {
return err
}
Expand Down

0 comments on commit ffb81bb

Please # to comment.