Documentation ¶
Index ¶
- type JSONMap
- type JSONSlice
- func (JSONSlice) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (m JSONSlice) GormDataType() string
- func (m JSONSlice) MarshalJSON() ([]byte, error)
- func (m *JSONSlice) Scan(val interface{}) error
- func (m *JSONSlice) UnmarshalJSON(b []byte) error
- func (m JSONSlice) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMap ¶
func (JSONMap) GormDBDataType ¶
GormDBDataType gorm db data type
func (JSONMap) GormDataType ¶
GormDataType gorm common data type
func (JSONMap) MarshalJSON ¶
MarshalJSON to output non base64 encoded []byte
func (*JSONMap) UnmarshalJSON ¶
UnmarshalJSON to deserialize []byte
type JSONSlice ¶
type JSONSlice []string
func (JSONSlice) GormDBDataType ¶
GormDBDataType gorm db data type
func (JSONSlice) GormDataType ¶
GormDataType gorm common data type
func (JSONSlice) MarshalJSON ¶
MarshalJSON to output non base64 encoded []byte
func (*JSONSlice) UnmarshalJSON ¶
UnmarshalJSON to deserialize []byte
Click to show internal directories.
Click to hide internal directories.