Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryUUID ¶
BinaryUUID -> binary uuid wrapper over uuid.UUID
func ParseUUID ¶
func ParseUUID(id string) BinaryUUID
ParseUUID -> parses string uuid to binary uuid
func (BinaryUUID) GormDataType ¶
func (BinaryUUID) GormDataType() string
GormDataType -> sql data type for gorm
func (BinaryUUID) MarshalJSON ¶
func (b BinaryUUID) MarshalJSON() ([]byte, error)
MarshalJSON -> convert to json string
func (*BinaryUUID) Scan ¶
func (b *BinaryUUID) Scan(value interface{}) error
Scan -> scan value into BinaryUUID
func (BinaryUUID) String ¶
func (b BinaryUUID) String() string
func (*BinaryUUID) UnmarshalJSON ¶
func (b *BinaryUUID) UnmarshalJSON(by []byte) error
UnmarshalJSON -> convert from json string
Click to show internal directories.
Click to hide internal directories.