Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func initConfig() (config, error) {
switch *tagFormat {
case formatAsIs, formatSnakeCase, formatCamelCase, formatPascalCase:
default:
return config{}, fmt.Errorf("invalid tag_format %s", *format)
return config{}, fmt.Errorf("invalid tag_format %s", *tagFormat)
}

conf := config{}
Expand Down
4 changes: 2 additions & 2 deletions genutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
)

const (
templateName = "output.tpl"
templateName = "output.tmpl"
)

var (
//go:embed output.tpl
//go:embed output.tmpl
templatesFS embed.FS
)

Expand Down
File renamed without changes.