This commit is contained in:
parent
b0e443ad99
commit
16146494dc
@ -3,19 +3,9 @@ package dataext
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"gogs.mikescher.com/BlackForestBytes/goext/langext"
|
||||
)
|
||||
|
||||
type JsonTwoWayMarshal interface {
|
||||
json.Marshaler
|
||||
json.Unmarshaler
|
||||
}
|
||||
|
||||
type JsonOptType interface {
|
||||
JsonTwoWayMarshal | ~string | ~bool | langext.NumberConstraint
|
||||
}
|
||||
|
||||
type JsonOpt[T JsonOptType] struct {
|
||||
type JsonOpt[T any] struct {
|
||||
isSet bool
|
||||
value T
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user