Versions in this module Expand all Collapse all v0 v0.1.0 Dec 8, 2023 Changes in this version + type JSONSlice []T + func NewJSONSlice[T any](s []T) JSONSlice[T] + func (JSONSlice[T]) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (JSONSlice[T]) GormDataType() string + func (j *JSONSlice[T]) Scan(value interface{}) error + func (j JSONSlice[T]) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (j JSONSlice[T]) Value() (driver.Value, error) + type JSONTime time.Time + func (t *JSONTime) Scan(value interface{}) error + func (t *JSONTime) UnmarshalJSON(data []byte) error + func (t JSONTime) Format() string + func (t JSONTime) MarshalJSON() ([]byte, error) + func (t JSONTime) Value() (driver.Value, error) + type JSONType struct + Data T + func NewJSONType[T any](data T) JSONType[T] + func (JSONType[T]) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (JSONType[T]) GormDataType() string + func (j *JSONType[T]) Scan(value interface{}) error + func (j *JSONType[T]) UnmarshalJSON(b []byte) error + func (j JSONType[T]) MarshalJSON() ([]byte, error) + func (j JSONType[T]) Value() (driver.Value, error) + func (js JSONType[T]) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + type Tags map[string]any + func BoolMapToTags(values map[string]bool) Tags + func IntMapToTags(values map[string]int) Tags + func StringArrayToTags(values []string) Tags + func StringMapToTags(values map[string]string) Tags + func (m Tags) GetString(name string) string + func (m Tags) Set(name string, v any) v0.1.0-dev Nov 30, 2023