From 5a8d7110e44142c2631782e770a8568ed1699285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 22 Oct 2024 09:41:59 +0200 Subject: [PATCH] v0.0.535 --- bfcodegen/csid-generate.template | 2 +- bfcodegen/enum-generate.template | 2 +- bfcodegen/id-generate.template | 2 +- goextVersion.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bfcodegen/csid-generate.template b/bfcodegen/csid-generate.template index b141d64..b82aac0 100644 --- a/bfcodegen/csid-generate.template +++ b/bfcodegen/csid-generate.template @@ -171,7 +171,7 @@ func (i *{{.Name}}) String() string { if i == nil { return "" } - return string(i) + return string(*i) } func (i {{.Name}}) Prefix() string { diff --git a/bfcodegen/enum-generate.template b/bfcodegen/enum-generate.template index 425a6c1..ad5d1f4 100644 --- a/bfcodegen/enum-generate.template +++ b/bfcodegen/enum-generate.template @@ -73,7 +73,7 @@ func (e *{{.EnumTypeName}}) String() string { if e == nil { return "" } - return string(e) + return string(*e) } {{end}} diff --git a/bfcodegen/id-generate.template b/bfcodegen/id-generate.template index 1181a93..1b151e3 100644 --- a/bfcodegen/id-generate.template +++ b/bfcodegen/id-generate.template @@ -25,7 +25,7 @@ func (i *{{.Name}}) String() string { if i == nil { return "" } - return string(i) + return string(*i) } func (i {{.Name}}) ObjID() (primitive.ObjectID, error) { diff --git a/goextVersion.go b/goextVersion.go index 6d2ba82..0337b9b 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.534" +const GoextVersion = "0.0.535" -const GoextVersionTimestamp = "2024-10-22T09:40:53+0200" +const GoextVersionTimestamp = "2024-10-22T09:41:59+0200"