Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2020 Changes in this version + type Bool struct + func NewBool(value *bool) Bool + func (Bool) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Bool) GormDataType() string + func (n *Bool) Scan(value interface{}) error + func (n *Bool) Set(value *bool) + func (n *Bool) UnmarshalJSON(data []byte) error + func (n Bool) Get() *bool + func (n Bool) MarshalJSON() ([]byte, error) + func (n Bool) Value() (driver.Value, error) + type Byte struct + func NewByte(value *byte) Byte + func (Byte) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Byte) GormDataType() string + func (n *Byte) Scan(value interface{}) error + func (n *Byte) Set(value *byte) + func (n *Byte) UnmarshalJSON(data []byte) error + func (n Byte) Get() *byte + func (n Byte) MarshalJSON() ([]byte, error) + func (n Byte) Value() (driver.Value, error) + type Bytes struct + func NewBytes(value *[]byte) Bytes + func (Bytes) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Bytes) GormDataType() string + func (n *Bytes) Scan(value interface{}) error + func (n *Bytes) Set(value *[]byte) + func (n *Bytes) UnmarshalJSON(data []byte) error + func (n Bytes) Get() *[]byte + func (n Bytes) MarshalJSON() ([]byte, error) + func (n Bytes) Value() (driver.Value, error) + type Float32 struct + func NewFloat32(value *float32) Float32 + func (Float32) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Float32) GormDataType() string + func (n *Float32) Scan(value interface{}) error + func (n *Float32) Set(value *float32) + func (n *Float32) UnmarshalJSON(data []byte) error + func (n Float32) Get() *float32 + func (n Float32) MarshalJSON() ([]byte, error) + func (n Float32) Value() (driver.Value, error) + type Float64 struct + func NewFloat64(value *float64) Float64 + func (Float64) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Float64) GormDataType() string + func (n *Float64) Scan(value interface{}) error + func (n *Float64) Set(value *float64) + func (n *Float64) UnmarshalJSON(data []byte) error + func (n Float64) Get() *float64 + func (n Float64) MarshalJSON() ([]byte, error) + func (n Float64) Value() (driver.Value, error) + type Int struct + func NewInt(value *int) Int + func (Int) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Int) GormDataType() string + func (n *Int) Scan(value interface{}) error + func (n *Int) Set(value *int) + func (n *Int) UnmarshalJSON(data []byte) error + func (n Int) Get() *int + func (n Int) MarshalJSON() ([]byte, error) + func (n Int) Value() (driver.Value, error) + type Int16 struct + func NewInt16(value *int16) Int16 + func (Int16) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Int16) GormDataType() string + func (n *Int16) Scan(value interface{}) error + func (n *Int16) Set(value *int16) + func (n *Int16) UnmarshalJSON(data []byte) error + func (n Int16) Get() *int16 + func (n Int16) MarshalJSON() ([]byte, error) + func (n Int16) Value() (driver.Value, error) + type Int32 struct + func NewInt32(value *int32) Int32 + func (Int32) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Int32) GormDataType() string + func (n *Int32) Scan(value interface{}) error + func (n *Int32) Set(value *int32) + func (n *Int32) UnmarshalJSON(data []byte) error + func (n Int32) Get() *int32 + func (n Int32) MarshalJSON() ([]byte, error) + func (n Int32) Value() (driver.Value, error) + type Int64 struct + func NewInt64(value *int64) Int64 + func (Int64) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Int64) GormDataType() string + func (n *Int64) Scan(value interface{}) error + func (n *Int64) Set(value *int64) + func (n *Int64) UnmarshalJSON(data []byte) error + func (n Int64) Get() *int64 + func (n Int64) MarshalJSON() ([]byte, error) + func (n Int64) Value() (driver.Value, error) + type Int8 struct + func NewInt8(value *int8) Int8 + func (Int8) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Int8) GormDataType() string + func (n *Int8) Scan(value interface{}) error + func (n *Int8) Set(value *int8) + func (n *Int8) UnmarshalJSON(data []byte) error + func (n Int8) Get() *int8 + func (n Int8) MarshalJSON() ([]byte, error) + func (n Int8) Value() (driver.Value, error) + type String struct + func NewString(value *string) String + func (String) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (String) GormDataType() string + func (n *String) Scan(value interface{}) error + func (n *String) Set(value *string) + func (n *String) UnmarshalJSON(data []byte) error + func (n String) Get() *string + func (n String) MarshalJSON() ([]byte, error) + func (n String) Value() (driver.Value, error) + type Time struct + func NewTime(value *time.Time) Time + func (Time) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Time) GormDataType() string + func (n *Time) Scan(value interface{}) error + func (n *Time) Set(value *time.Time) + func (n *Time) UnmarshalJSON(data []byte) error + func (n Time) Get() *time.Time + func (n Time) MarshalJSON() ([]byte, error) + func (n Time) Value() (driver.Value, error) + type Uint struct + func NewUint(value *uint) Uint + func (Uint) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Uint) GormDataType() string + func (n *Uint) Scan(value interface{}) error + func (n *Uint) Set(value *uint) + func (n *Uint) UnmarshalJSON(data []byte) error + func (n Uint) Get() *uint + func (n Uint) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (n Uint) MarshalJSON() ([]byte, error) + func (n Uint) Value() (driver.Value, error) + type Uint16 struct + func NewUint16(value *uint16) Uint16 + func (Uint16) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Uint16) GormDataType() string + func (n *Uint16) Scan(value interface{}) error + func (n *Uint16) Set(value *uint16) + func (n *Uint16) UnmarshalJSON(data []byte) error + func (n Uint16) Get() *uint16 + func (n Uint16) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (n Uint16) MarshalJSON() ([]byte, error) + func (n Uint16) Value() (driver.Value, error) + type Uint32 struct + func NewUint32(value *uint32) Uint32 + func (Uint32) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Uint32) GormDataType() string + func (n *Uint32) Scan(value interface{}) error + func (n *Uint32) Set(value *uint32) + func (n *Uint32) UnmarshalJSON(data []byte) error + func (n Uint32) Get() *uint32 + func (n Uint32) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (n Uint32) MarshalJSON() ([]byte, error) + func (n Uint32) Value() (driver.Value, error) + type Uint64 struct + func NewUint64(value *uint64) Uint64 + func (Uint64) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Uint64) GormDataType() string + func (n *Uint64) Scan(value interface{}) error + func (n *Uint64) Set(value *uint64) + func (n *Uint64) UnmarshalJSON(data []byte) error + func (n Uint64) Get() *uint64 + func (n Uint64) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (n Uint64) MarshalJSON() ([]byte, error) + func (n Uint64) Value() (driver.Value, error) + type Uint8 struct + func NewUint8(value *uint8) Uint8 + func (Uint8) GormDBDataType(db *gorm.DB, field *schema.Field) string + func (Uint8) GormDataType() string + func (n *Uint8) Scan(value interface{}) error + func (n *Uint8) Set(value *uint8) + func (n *Uint8) UnmarshalJSON(data []byte) error + func (n Uint8) Get() *uint8 + func (n Uint8) GormValue(ctx context.Context, db *gorm.DB) clause.Expr + func (n Uint8) MarshalJSON() ([]byte, error) + func (n Uint8) Value() (driver.Value, error)