Documentation
¶
Index ¶
- type MyUuid
- func (u *MyUuid) Bytes() []byte
- func (u *MyUuid) IsEmpty() bool
- func (u MyUuid) MarshalJSON() ([]byte, error)
- func (u *MyUuid) Scan(src interface{}) error
- func (u *MyUuid) SetFromByte(id []byte) error
- func (u *MyUuid) SetFromString(id string) error
- func (u *MyUuid) String() string
- func (u *MyUuid) UnmarshalJSON(b []byte) error
- func (u MyUuid) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyUuid ¶
func (MyUuid) MarshalJSON ¶
MarshalJSON string json conversion from variable of uuid type
func (*MyUuid) Scan ¶
Scan implements the sql.Scanner interface. A 16-byte slice is handled by UnmarshalBinary, while a longer byte slice or a string is handled by UnmarshalText.
func (*MyUuid) SetFromByte ¶
func (*MyUuid) SetFromString ¶
func (*MyUuid) UnmarshalJSON ¶
UnmarshalJSON variable of uuid type from string json conversion
Click to show internal directories.
Click to hide internal directories.