v0.0.148
This commit is contained in:
parent
45d4fd7101
commit
f7dce4a102
@ -1,5 +1,5 @@
|
||||
package goext
|
||||
|
||||
const GoextVersion = "0.0.147"
|
||||
const GoextVersion = "0.0.148"
|
||||
|
||||
const GoextVersionTimestamp = "2023-06-07T16:58:17+0200"
|
||||
const GoextVersionTimestamp = "2023-06-07T17:22:38+0200"
|
||||
|
@ -46,7 +46,7 @@ func (pss PrimitiveStringSerializer) ValueToString(v any) (string, error) {
|
||||
|
||||
func (pss PrimitiveStringSerializer) ValueFromString(str string, outType reflect.Type) (any, error) {
|
||||
|
||||
if outType.Kind() == reflect.Ptr && str == "" {
|
||||
if str == "" {
|
||||
return reflect.Zero(outType).Interface(), nil // = nil.(outType), nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user