Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2026 Changes in this version + const DateFormat + var ErrNullableIsNull = errors.New("nullable value is null") + var ErrNullableNotSpecified = errors.New("nullable value is not specified") + var ErrValidationEmail = errors.New("email: failed to pass regex validation") + type Date struct + func (d *Date) UnmarshalJSON(data []byte) error + func (d *Date) UnmarshalText(data []byte) error + func (d Date) Format(layout string) string + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) MarshalText() ([]byte, error) + func (d Date) String() string + type Email string + func (e *Email) UnmarshalJSON(data []byte) error + func (e Email) MarshalJSON() ([]byte, error) + type File struct + func (file *File) InitFromBytes(data []byte, filename string) + func (file *File) InitFromMultipart(header *multipart.FileHeader) + func (file *File) UnmarshalJSON(data []byte) error + func (file File) Bytes() ([]byte, error) + func (file File) FileSize() int64 + func (file File) Filename() string + func (file File) MarshalJSON() ([]byte, error) + func (file File) Reader() (io.ReadCloser, error) + type Nullable map[bool]T + func NewNullNullable[T any]() Nullable[T] + func NewNullableWithValue[T any](value T) Nullable[T] + func (n *Nullable[T]) Set(value T) + func (n *Nullable[T]) SetNull() + func (n *Nullable[T]) SetUnspecified() + func (n *Nullable[T]) UnmarshalJSON(data []byte) error + func (n Nullable[T]) Get() (T, error) + func (n Nullable[T]) IsNull() bool + func (n Nullable[T]) IsSpecified() bool + func (n Nullable[T]) MarshalJSON() ([]byte, error) + func (n Nullable[T]) MustGet() T + type UUID = uuid.UUID