Documentation ¶
Index ¶
- func TagStrings() []string
- type Tag
- func (i Tag) IsATag() bool
- func (i Tag) MarshalJSON() ([]byte, error)
- func (i *Tag) Scan(value interface{}) error
- func (i Tag) String() string
- func (i *Tag) UnmarshalJSON(data []byte) error
- func (t *Tag) UnmarshalParam(param string) error
- func (i Tag) Value() (driver.Value, error)
- func (Tag) Values() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TagStrings ¶
func TagStrings() []string
TagStrings returns a slice of all String values of the enum
Types ¶
type Tag ¶
type Tag uint64
Tag represents a metadata tag.
func TagString ¶
TagString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (Tag) IsATag ¶
IsATag returns "true" if the value is listed in the enum definition. "false" otherwise
func (Tag) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Tag
func (*Tag) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Tag
func (*Tag) UnmarshalParam ¶
Click to show internal directories.
Click to hide internal directories.