diff --git a/null.go b/null.go index 764633a..d36a36b 100644 --- a/null.go +++ b/null.go @@ -9,6 +9,7 @@ import ( ) // NullVal represents the nullable value for this type. +// Deprecated: Use github.com/kazhuravlev/optional. type NullVal[T any] struct { Val T `json:"v"` Valid bool `json:"ok"`