Documentation ¶ Index ¶ type MTID func New() MTID func (i *MTID) Hash() string func (i *MTID) HashValid() bool func (i MTID) MarshalJSON() ([]byte, error) func (i *MTID) Scan(src interface{}) error func (i *MTID) UnmarshalJSON(data []byte) error func (i *MTID) Valid() bool func (i MTID) Value() (driver.Value, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type MTID ¶ type MTID struct { uuid.UUID // contains filtered or unexported fields } MTID is a type for the mytoken id func New ¶ func New() MTID New creates a new MTID func (*MTID) Hash ¶ func (i *MTID) Hash() string func (*MTID) HashValid ¶ func (i *MTID) HashValid() bool func (MTID) MarshalJSON ¶ func (i MTID) MarshalJSON() ([]byte, error) func (*MTID) Scan ¶ func (i *MTID) Scan(src interface{}) error Scan implements the sql.Scanner interface func (*MTID) UnmarshalJSON ¶ func (i *MTID) UnmarshalJSON(data []byte) error func (*MTID) Valid ¶ func (i *MTID) Valid() bool func (MTID) Value ¶ func (i MTID) Value() (driver.Value, error) Value implements the driver.Valuer interface Source Files ¶ View all Source files mtid.go Click to show internal directories. Click to hide internal directories.