v0.0.336
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m3s

This commit is contained in:
Mike Schwörer 2023-12-05 19:42:37 +01:00
parent af38b06d22
commit eef0e9f2aa
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ func (e {{.EnumTypeName}}) Meta() enums.EnumMetaValue {
{{if $hasDescr}} {{if $hasDescr}}
func (e {{.EnumTypeName}}) DescriptionMeta() enums.EnumDescriptionMetaValue { func (e {{.EnumTypeName}}) DescriptionMeta() enums.EnumDescriptionMetaValue {
return enums.EnumDescriptionMetaValue{VarName: e.VarName(), Value: e.String(), Description: e.Description()} return enums.EnumDescriptionMetaValue{VarName: e.VarName(), Value: e, Description: e.Description()}
} }
{{end}} {{end}}
@ -101,9 +101,9 @@ func {{.EnumTypeName}}ValuesMeta() []enums.EnumMetaValue {
} }
{{if $hasDescr}} {{if $hasDescr}}
func (e {{.EnumTypeName}}) ValuesDescriptionMeta() []enums.EnumDescriptionMetaValue { func {{.EnumTypeName}}ValuesMeta() []enums.EnumDescriptionMetaValue {
return []enums.EnumMetaValue{ {{range .Values}} return []enums.EnumDescriptionMetaValue{ {{range .Values}}
{{.VarName}}.DescriptionMeta(), {{end}} {{.VarName}}.EnumDescriptionMetaValue(), {{end}}
} }
} }
{{end}} {{end}}

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.335" const GoextVersion = "0.0.336"
const GoextVersionTimestamp = "2023-12-05T19:38:03+0100" const GoextVersionTimestamp = "2023-12-05T19:42:37+0100"