Versions in this module Expand all Collapse all v1 v1.1.0 Oct 29, 2026 v1.0.0 Oct 26, 2026 Changes in this version + const DefaultDateLayout + func Pointer[T any](val T) *T + type DateTime struct + func NowDateTime() DateTime + func ParseDateTime(value any) (DateTime, error) + func (d *DateTime) Scan(value any) error + func (d *DateTime) UnmarshalJSON(b []byte) error + func (d DateTime) Add(duration time.Duration) DateTime + func (d DateTime) AddDate(years, months, days int) DateTime + func (d DateTime) After(u DateTime) bool + func (d DateTime) Before(u DateTime) bool + func (d DateTime) Compare(u DateTime) int + func (d DateTime) Equal(u DateTime) bool + func (d DateTime) IsZero() bool + func (d DateTime) MarshalJSON() ([]byte, error) + func (d DateTime) String() string + func (d DateTime) Sub(u DateTime) time.Duration + func (d DateTime) Time() time.Time + func (d DateTime) Unix() int64 + func (d DateTime) Value() (driver.Value, error) + type GeoPoint struct + Lat float64 + Lon float64 + func (p *GeoPoint) Scan(value any) error + func (p GeoPoint) AsMap() map[string]any + func (p GeoPoint) String() string + func (p GeoPoint) Value() (driver.Value, error) + type JSONArray []T + func (m *JSONArray[T]) Scan(value any) error + func (m JSONArray[T]) MarshalJSON() ([]byte, error) + func (m JSONArray[T]) String() string + func (m JSONArray[T]) Value() (driver.Value, error) + type JSONMap map[string]T + func (m *JSONMap[T]) Scan(value any) error + func (m JSONMap[T]) Get(key string) T + func (m JSONMap[T]) MarshalJSON() ([]byte, error) + func (m JSONMap[T]) Set(key string, value T) + func (m JSONMap[T]) String() string + func (m JSONMap[T]) Value() (driver.Value, error) + type JSONRaw []byte + func ParseJSONRaw(value any) (JSONRaw, error) + func (j *JSONRaw) Scan(value any) error + func (j *JSONRaw) UnmarshalJSON(b []byte) error + func (j JSONRaw) MarshalJSON() ([]byte, error) + func (j JSONRaw) String() string + func (j JSONRaw) Value() (driver.Value, error) + type Vector []float32 + func (v *Vector) Scan(value any) error + func (v *Vector) UnmarshalJSON(data []byte) error + func (v Vector) MarshalJSON() ([]byte, error) + func (v Vector) String() string + func (v Vector) Value() (driver.Value, error)