func (o *Output) UnmarshalText(text []byte) error {
	*o = Unknown
	switch string(text) {
	case jsonText:
		*o = JSON
	case jsonCompactText:
		*o = JSONCompact
	case textText:
		*o = Text
	case yamlText:
		*o = Yaml
	default:
		return errors.Errorf("Value '%s' is not a valid Output", text)
	}
	return nil
}
// UnmarshalText satisfies encoding.TextUnmarshaler
UnmarshalText satisfies encoding.TextUnmarshaler
// UnmarshalText satisfies encoding . TextUnmarshaler
func (o *Output) UnmarshalText(text []byte) error {
	*o = Unknown
	switch string(text) {
	case jsonText:
		*o = JSON
	case jsonCompactText:
		*o = JSONCompact
	case textText:
		*o = Text
	case yamlText:
		*o = Yaml
	default:
		return errors.Errorf("Value '%s' is not a valid Output", text)
	}
	return nil
}
func ( o * Output ) UnmarshalText ( text [ ] byte ) error { * o = Unknown switch string ( text ) { case jsonText : * o = JSON case jsonCompactText : * o = JSONCompact case textText : * o = Text case yamlText : * o = Yaml default : return errors . Errorf ( " " , text ) } return nil }
UnmarshalText satisfies encoding.TextUnmarshaler
UnmarshalText satisfies encoding . TextUnmarshaler