v0.0.421
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 32s

This commit is contained in:
Mike Schwörer 2024-03-23 20:28:51 +01:00
parent b0e443ad99
commit 16146494dc
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 13 deletions

View File

@ -3,19 +3,9 @@ package dataext
import ( import (
"encoding/json" "encoding/json"
"errors" "errors"
"gogs.mikescher.com/BlackForestBytes/goext/langext"
) )
type JsonTwoWayMarshal interface { type JsonOpt[T any] struct {
json.Marshaler
json.Unmarshaler
}
type JsonOptType interface {
JsonTwoWayMarshal | ~string | ~bool | langext.NumberConstraint
}
type JsonOpt[T JsonOptType] struct {
isSet bool isSet bool
value T value T
} }

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.420" const GoextVersion = "0.0.421"
const GoextVersionTimestamp = "2024-03-23T18:01:41+0100" const GoextVersionTimestamp = "2024-03-23T20:28:51+0100"