Documentation
¶
Index ¶
- type NUUID
- func (nid NUUID) IsZero() bool
- func (nid NUUID) MarshalJSON() ([]byte, error)
- func (nid NUUID) MarshalText() ([]byte, error)
- func (nid NUUID) Ptr() *uuid.UUID
- func (nid *NUUID) Scan(value interface{}) error
- func (nid *NUUID) SetValid(v uuid.UUID)
- func (nid *NUUID) UnmarshalJSON(data []byte) error
- func (nid *NUUID) UnmarshalText(text []byte) error
- func (nid NUUID) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NUUID ¶
NUUID is a nullable UUID, Use it if you want to make UUID nullable in DB/Json model/etc
func (NUUID) MarshalJSON ¶
MarshalJSON implements the MarshalJSON method
func (NUUID) MarshalText ¶
MarshalText implements the MarshalText method
func (*NUUID) UnmarshalJSON ¶
UnmarshalJSON implements the UnmarshalJSON method
func (*NUUID) UnmarshalText ¶
UnmarshalText implements the UnmarshalText method
Click to show internal directories.
Click to hide internal directories.