v0.0.293 fix NPE
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m52s

This commit is contained in:
Mike Schwörer 2023-10-30 13:37:31 +01:00
parent 19ee5019ef
commit ab1a1ab6f6
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 3 deletions

View File

@ -275,7 +275,7 @@ 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 {
if val == nil { if langext.IsNil(val) {
return b.addMeta(key, MDTString, "(!nil)") return b.addMeta(key, MDTString, "(!nil)")
} else { } else {
return b.addMeta(key, MDTString, val.String()) return b.addMeta(key, MDTString, val.String())

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.292" const GoextVersion = "0.0.293"
const GoextVersionTimestamp = "2023-10-30T10:14:38+0100" const GoextVersionTimestamp = "2023-10-30T13:37:31+0100"