func MakeChannel(track, risk, branch string) (Channel, error) {
	if !isRisk(risk) {
		return Channel{}, errors.NotValidf("risk %q", risk)
	}
	return Channel{
		Track:  track,
		Risk:   Risk(risk),
		Branch: branch,
	}, nil
}
// MakeChannel creates a core charm Channel from a set of component parts.
MakeChannel creates a core charm Channel from a set of component parts.
// MakeChannel creates a core charm Channel from a set of component parts .
func MakeChannel(track, risk, branch string) (Channel, error) {
	if !isRisk(risk) {
		return Channel{}, errors.NotValidf("risk %q", risk)
	}
	return Channel{
		Track:  track,
		Risk:   Risk(risk),
		Branch: branch,
	}, nil
}
func MakeChannel ( track , risk , branch string ) ( Channel , error ) { if ! isRisk ( risk ) { return Channel { } , errors . NotValidf ( " " , risk ) } return Channel { Track : track , Risk : Risk ( risk ) , Branch : branch , } , nil }
MakeChannel creates a core charm Channel from a set of component parts.
MakeChannel creates a core charm Channel from a set of component parts .