v0.0.426 fix JsonOpt
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m57s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m57s
This commit is contained in:
@@ -25,6 +25,7 @@ func (m *JsonOpt[T]) UnmarshalJSON(data []byte) error {
|
||||
return errors.New("JsonOpt: UnmarshalJSON on nil pointer")
|
||||
}
|
||||
|
||||
m.isSet = true
|
||||
return json.Unmarshal(data, &m.value)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user