Skip to content

Commit

Permalink
Aliasing nullable.JSON to any
Browse files Browse the repository at this point in the history
  • Loading branch information
pivaldi committed Dec 18, 2023
1 parent d8761da commit 33abf14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nullable.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33abf14

Please sign in to comment.