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