This commit is contained in:
Mike Schwörer 2023-06-07 17:22:38 +02:00
parent 45d4fd7101
commit f7dce4a102
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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
}