func ParseOrigin(value string) (Origin, error) {
	for o, str := range origins {
		if value == str {
			return o, nil
		}
	}
	return originUnknown, errors.Errorf("unknown origin %q", value)
}
// ParseOrigin converts the provided string into an Origin.
// If it is not a known origin then an error is returned.
ParseOrigin converts the provided string into an Origin.
If it is not a known origin then an error is returned.
// ParseOrigin converts the provided string into an Origin . // If it is not a known origin then an error is returned .
func ParseOrigin(value string) (Origin, error) {
	for o, str := range origins {
		if value == str {
			return o, nil
		}
	}
	return originUnknown, errors.Errorf("unknown origin %q", value)
}
func ParseOrigin ( value string ) ( Origin , error ) { for o , str := range origins { if value == str { return o , nil } } return originUnknown , errors . Errorf ( " " , value ) }
ParseOrigin converts the provided string into an Origin.
ParseOrigin converts the provided string into an Origin .