Documentation ¶
Index ¶
- Constants
- Variables
- type State
- func (State) EnumType() string
- func (State) Enums() map[int][]string
- func (v State) Label() string
- func (v State) MarshalText() ([]byte, error)
- func (v *State) Scan(src interface{}) error
- func (v State) String() string
- func (v *State) UnmarshalText(data []byte) (err error)
- func (v State) Value() (driver.Value, error)
- type Status
Constants ¶
View Source
const STATE_OFFSET = int64(-3 - STATE__ACTIVE)
db -3 = state = 1
Variables ¶
View Source
var InvalidState = errors.New("invalid State")
View Source
var InvalidStatus = errors.New("invalid Status")
Functions ¶
This section is empty.
Types ¶
type State ¶
type State int64
swagger:enum
func ParseStateFromString ¶
func (State) MarshalText ¶
func (*State) UnmarshalText ¶
type Status ¶
type Status int64
swagger:enum
func ParseStatusFromString ¶
func (Status) MarshalText ¶
func (*Status) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.