diff --git a/bfcodegen/enum-generate.template b/bfcodegen/enum-generate.template index e3915b2..425a6c1 100644 --- a/bfcodegen/enum-generate.template +++ b/bfcodegen/enum-generate.template @@ -70,7 +70,7 @@ func (e {{.EnumTypeName}}) ValuesMeta() []enums.EnumMetaValue { {{if $hasStr}} func (e *{{.EnumTypeName}}) String() string { - if i == nil { + if e == nil { return "" } return string(e) diff --git a/goextVersion.go b/goextVersion.go index 42d5da4..6d2ba82 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.533" +const GoextVersion = "0.0.534" -const GoextVersionTimestamp = "2024-10-22T09:36:40+0200" +const GoextVersionTimestamp = "2024-10-22T09:40:53+0200"