Documentation ¶
Index ¶
- type String
- func (n String) Get() string
- func (String) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (String) GormDataType() string
- func (n String) MarshalJSON() ([]byte, error)
- func (n *String) Scan(value interface{}) error
- func (n *String) Set(value string)
- func (n *String) UnmarshalJSON(data []byte) error
- func (n String) Value() (driver.Value, error)
- type Uint
- func (n Uint) Get() uint
- func (Uint) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Uint) GormDataType() string
- func (n Uint) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (n Uint) MarshalJSON() ([]byte, error)
- func (n *Uint) Scan(value interface{}) error
- func (n *Uint) Set(value uint)
- func (n *Uint) UnmarshalJSON(data []byte) error
- func (n Uint) Value() (driver.Value, error)
- type Uint16
- func (n Uint16) Get() uint16
- func (Uint16) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Uint16) GormDataType() string
- func (n Uint16) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (n Uint16) MarshalJSON() ([]byte, error)
- func (n *Uint16) Scan(value interface{}) error
- func (n *Uint16) Set(value uint16)
- func (n *Uint16) UnmarshalJSON(data []byte) error
- func (n Uint16) Value() (driver.Value, error)
- type Uint32
- func (n Uint32) Get() uint32
- func (Uint32) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Uint32) GormDataType() string
- func (n Uint32) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (n Uint32) MarshalJSON() ([]byte, error)
- func (n *Uint32) Scan(value interface{}) error
- func (n *Uint32) Set(value uint32)
- func (n *Uint32) UnmarshalJSON(data []byte) error
- func (n Uint32) Value() (driver.Value, error)
- type Uint8
- func (n Uint8) Get() uint8
- func (Uint8) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Uint8) GormDataType() string
- func (n Uint8) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (n Uint8) MarshalJSON() ([]byte, error)
- func (n *Uint8) Scan(value interface{}) error
- func (n *Uint8) Set(value uint8)
- func (n *Uint8) UnmarshalJSON(data []byte) error
- func (n Uint8) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
String SQL type that can retrieve NULL value
func (String) GormDBDataType ¶
GormDBDataType gorm db data type
func (String) MarshalJSON ¶
MarshalJSON converts current value to JSON
func (*String) UnmarshalJSON ¶
UnmarshalJSON writes JSON to this type
type Uint ¶
type Uint struct {
// contains filtered or unexported fields
}
Uint SQL type that can retrieve NULL value
func (Uint) GormDBDataType ¶
GormDBDataType gorm db data type
func (Uint) MarshalJSON ¶
MarshalJSON converts current value to JSON
func (*Uint) UnmarshalJSON ¶
UnmarshalJSON writes JSON to this type
type Uint16 ¶
type Uint16 struct {
// contains filtered or unexported fields
}
Uint16 SQL type that can retrieve NULL value
func (Uint16) GormDBDataType ¶
GormDBDataType gorm db data type
func (Uint16) MarshalJSON ¶
MarshalJSON converts current value to JSON
func (*Uint16) UnmarshalJSON ¶
UnmarshalJSON writes JSON to this type
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
Uint32 SQL type that can retrieve NULL value
func (Uint32) GormDBDataType ¶
GormDBDataType gorm db data type
func (Uint32) MarshalJSON ¶
MarshalJSON converts current value to JSON
func (*Uint32) UnmarshalJSON ¶
UnmarshalJSON writes JSON to this type
type Uint8 ¶
type Uint8 struct {
// contains filtered or unexported fields
}
Uint8 SQL type that can retrieve NULL value
func (Uint8) GormDBDataType ¶
GormDBDataType gorm db data type
func (Uint8) MarshalJSON ¶
MarshalJSON converts current value to JSON
func (*Uint8) UnmarshalJSON ¶
UnmarshalJSON writes JSON to this type