Documentation
¶
Index ¶
- Variables
- type StepType
- func (_j StepType) IsValid() bool
- func (_j StepType) MarshalBinary() ([]byte, error)
- func (_j StepType) MarshalGQL(w io.Writer)
- func (_j StepType) MarshalJSON() ([]byte, error)
- func (_j StepType) MarshalText() ([]byte, error)
- func (_j StepType) MarshalYAML() (interface{}, error)
- func (StepType) SQLTypeName() string
- func (_j *StepType) Scan(value interface{}) error
- func (_j StepType) String() string
- func (_j *StepType) UnmarshalBinary(text []byte) error
- func (_j *StepType) UnmarshalGQL(value interface{}) error
- func (_j *StepType) UnmarshalJSON(data []byte) error
- func (_j *StepType) UnmarshalText(text []byte) error
- func (_j *StepType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j StepType) Validate() error
- func (StepType) Values() []string
Constants ¶
This section is empty.
Variables ¶
var ErrNoValidEnum = errors.New("not a valid enum")
Functions ¶
This section is empty.
Types ¶
type StepType ¶
type StepType string
func StepTypeFromString ¶
StepTypeFromString determines the enum value with an exact case match.
func StepTypeFromStringIgnoreCase ¶
StepTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (StepType) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface for StepType.
func (StepType) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface for StepType.
func (StepType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for StepType.
func (StepType) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for StepType.
func (StepType) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for StepType.
func (StepType) SQLTypeName ¶
func (StepType) String ¶
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern StepType(%d) instead.
func (*StepType) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for StepType.
func (*StepType) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface for StepType.
func (*StepType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for StepType.
func (*StepType) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for StepType.
func (*StepType) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for StepType.