Compare commits

...

2 Commits

Author SHA1 Message Date
9b9a79b4ad v0.0.536 revert bfcodegen changes
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m24s
2024-10-22 09:57:06 +02:00
5a8d7110e4 v0.0.535
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m52s
2024-10-22 09:41:59 +02:00
4 changed files with 5 additions and 14 deletions

View File

@@ -167,10 +167,7 @@ func (id {{.Name}}) Valid() error {
return validateID(prefix{{.Name}}, string(id))
}
func (i *{{.Name}}) String() string {
if i == nil {
return "<nil>"
}
func (i {{.Name}}) String() string {
return string(i)
}

View File

@@ -69,10 +69,7 @@ func (e {{.EnumTypeName}}) ValuesMeta() []enums.EnumMetaValue {
}
{{if $hasStr}}
func (e *{{.EnumTypeName}}) String() string {
if e == nil {
return "<nil>"
}
func (e {{.EnumTypeName}}) String() string {
return string(e)
}
{{end}}

View File

@@ -21,10 +21,7 @@ func (i {{.Name}}) MarshalBSONValue() (bsontype.Type, []byte, error) {
}
}
func (i *{{.Name}}) String() string {
if i == nil {
return "<nil>"
}
func (i {{.Name}}) String() string {
return string(i)
}

View File

@@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.534"
const GoextVersion = "0.0.536"
const GoextVersionTimestamp = "2024-10-22T09:40:53+0200"
const GoextVersionTimestamp = "2024-10-22T09:57:06+0200"