v0.0.422
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m29s

This commit is contained in:
Mike Schwörer 2024-03-23 20:29:46 +01:00
parent 16146494dc
commit 8bf3a337cf
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 2 additions and 6 deletions

View File

@ -16,10 +16,6 @@ func (m JsonOpt[T]) MarshalJSON() ([]byte, error) {
return []byte("null"), nil // actually this would be undefined - but undefined is not valid JSON return []byte("null"), nil // actually this would be undefined - but undefined is not valid JSON
} }
if m.value == nil {
return []byte("null"), nil
}
return json.Marshal(m.value) return json.Marshal(m.value)
} }

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.421" const GoextVersion = "0.0.422"
const GoextVersionTimestamp = "2024-03-23T20:28:51+0100" const GoextVersionTimestamp = "2024-03-23T20:29:46+0100"