Skip to content

Commit

Permalink
fix: update generate string in generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEhbr committed Apr 28, 2022
1 parent 38cd8dd commit a95eb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl.go
Expand Up @@ -5,7 +5,7 @@ var fsmTemplate = `package {{.Package.Name}}
// This code is generated with http://github.com/MrEhbr/fsm tool
{{ if not .Options.DisableGoGenerate}}
//{{"go:generate"}} fsm gen -s {{.Options.Struct}} -f {{.Options.StateField}} -o {{ base .Options.OutputFile }}
//{{"go:generate"}} go-fsm gen -s {{.Options.Struct}} -f {{.Options.StateField}} -o {{ base .Options.OutputFile }}
{{- if .Options.TransitionsFile}} -t {{ path_join (rel (dir .Options.OutputFile) (dir .Options.TransitionsFile)) (base .Options.TransitionsFile) }} {{- end }}
{{- if .Options.ActionGraphOutputFile}} -a {{ path_join (rel (dir .Options.OutputFile) (dir .Options.ActionGraphOutputFile)) (base .Options.ActionGraphOutputFile) }} {{- end }}
{{- end }}
Expand Down

0 comments on commit a95eb06

Please sign in to comment.