v0.0.607
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m17s

This commit is contained in:
2025-10-04 00:24:13 +02:00
parent 039a53a395
commit 8c16e4d982
3 changed files with 6 additions and 6 deletions

View File

@@ -118,8 +118,8 @@ func (e {{.EnumTypeName}}) DescriptionMeta() enums.EnumDescriptionMetaValue {
{{end}}
{{if $hasData}}
func (e {{.EnumTypeName}}) DataMeta() enums.EnumMetaDataValue {
return enums.EnumMetaDataValue{
func (e {{.EnumTypeName}}) DataMeta() enums.EnumDataMetaValue {
return enums.EnumDataMetaValue{
VarName: e.VarName(),
Value: e,
Description: e.Description(),

View File

@@ -34,7 +34,7 @@ type EnumDescriptionMetaValue struct {
Description string `json:"description"`
}
type EnumMetaDataValue struct {
type EnumDataMetaValue struct {
VarName string `json:"varName"`
Value Enum `json:"value"`
Description *string `json:"description"`
@@ -42,7 +42,7 @@ type EnumMetaDataValue struct {
Data map[string]any `json:"-"` //handled by MarshalJSON
}
func (v EnumMetaDataValue) MarshalJSON() ([]byte, error) {
func (v EnumDataMetaValue) MarshalJSON() ([]byte, error) {
m := make(map[string]any, 8)
for k, dv := range v.Data {

View File

@@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.606"
const GoextVersion = "0.0.607"
const GoextVersionTimestamp = "2025-10-04T00:08:32+0200"
const GoextVersionTimestamp = "2025-10-04T00:24:13+0200"