v0.0.426 fix JsonOpt
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m57s

This commit is contained in:
Mike Schwörer 2024-04-01 16:03:00 +02:00
parent 36b71dfaf3
commit 678ddd7124
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ func (m *JsonOpt[T]) UnmarshalJSON(data []byte) error {
return errors.New("JsonOpt: UnmarshalJSON on nil pointer") return errors.New("JsonOpt: UnmarshalJSON on nil pointer")
} }
m.isSet = true
return json.Unmarshal(data, &m.value) return json.Unmarshal(data, &m.value)
} }

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.425" const GoextVersion = "0.0.426"
const GoextVersionTimestamp = "2024-03-30T14:24:53+0100" const GoextVersionTimestamp = "2024-04-01T16:03:00+0200"