diff --git a/nullable.go b/nullable.go index aa4d526..70b6ef3 100644 --- a/nullable.go +++ b/nullable.go @@ -9,7 +9,7 @@ import ( ) // JSON permits to handle Postgresl Json[b] type -type JSON any +type JSON = any type NullableI[T bool | int | int16 | int32 | int64 | string | float64 | JSON] interface { // IsNull returns true if itself is nil or the value is nil/null