From 33abf145ad4258072fe689eb63acda3f8abed922 Mon Sep 17 00:00:00 2001 From: pi Date: Mon, 18 Dec 2023 14:53:04 +0100 Subject: [PATCH] Aliasing nullable.JSON to any --- nullable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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