From eef0e9f2aac30f9702dbb0436455ed8fde65ea51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 5 Dec 2023 19:42:37 +0100 Subject: [PATCH] v0.0.336 --- bfcodegen/enum-generate.template | 8 ++++---- goextVersion.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bfcodegen/enum-generate.template b/bfcodegen/enum-generate.template index f98b77b..92db6a0 100644 --- a/bfcodegen/enum-generate.template +++ b/bfcodegen/enum-generate.template @@ -77,7 +77,7 @@ func (e {{.EnumTypeName}}) Meta() enums.EnumMetaValue { {{if $hasDescr}} 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}} @@ -101,9 +101,9 @@ func {{.EnumTypeName}}ValuesMeta() []enums.EnumMetaValue { } {{if $hasDescr}} -func (e {{.EnumTypeName}}) ValuesDescriptionMeta() []enums.EnumDescriptionMetaValue { - return []enums.EnumMetaValue{ {{range .Values}} - {{.VarName}}.DescriptionMeta(), {{end}} +func {{.EnumTypeName}}ValuesMeta() []enums.EnumDescriptionMetaValue { + return []enums.EnumDescriptionMetaValue{ {{range .Values}} + {{.VarName}}.EnumDescriptionMetaValue(), {{end}} } } {{end}} diff --git a/goextVersion.go b/goextVersion.go index 4584137..435b642 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ 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"