This commit is contained in:
Mike Schwörer 2023-08-08 14:28:09 +02:00
parent aa33bc8df3
commit 4a3f25baa0
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 7 additions and 3 deletions

View File

@ -270,7 +270,11 @@ func (b *Builder) Any(key string, val any) *Builder {
} }
func (b *Builder) Stringer(key string, val fmt.Stringer) *Builder { func (b *Builder) Stringer(key string, val fmt.Stringer) *Builder {
return b.addMeta(key, MDTString, val.String()) if val == nil {
return b.addMeta(key, MDTString, "(!nil)")
} else {
return b.addMeta(key, MDTString, val.String())
}
} }
func (b *Builder) Stack() *Builder { func (b *Builder) Stack() *Builder {

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.225" const GoextVersion = "0.0.226"
const GoextVersionTimestamp = "2023-08-08T13:09:15+0200" const GoextVersionTimestamp = "2023-08-08T14:28:09+0200"