Skip to content

Commit

Permalink
stemplate function is not needed...
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalBlueberry committed May 23, 2020
1 parent c9c2aee commit f7157da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph_objects/enumerates.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
{{- range $value := $attr.values }}
{{- if kindIs "string" $value }}
{{- if ne $value "" }}
{{$formatName}}_{{ stemplate "cleanupName" $value }} {{ $formatName }} = {{ quote $value }}
{{$formatName}}_{{ template "cleanupName" $value }} {{ $formatName }} = {{ quote $value }}
{{- end }}
{{- else if kindIs "float64" $value }}
{{$formatName}}{{ $value | toString | title | replace "-" "_" }} {{ $formatName }} = {{ quote $value }}
Expand Down

0 comments on commit f7157da

Please sign in to comment.