v0.0.226
This commit is contained in:
parent
aa33bc8df3
commit
4a3f25baa0
@ -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 {
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user