func (ch Channel) Normalize() Channel {
	track := ch.Track
	if track == "latest" {
		track = ""
	}

	risk := ch.Risk
	if risk == "" {
		risk = "stable"
	}

	return Channel{
		Track:  track,
		Risk:   risk,
		Branch: ch.Branch,
	}
}
// Normalize the channel with normalized track, risk and names.
Normalize the channel with normalized track, risk and names.
// Normalize the channel with normalized track risk and names .
func (ch Channel) Normalize() Channel {
	track := ch.Track
	if track == "latest" {
		track = ""
	}
	risk := ch.Risk
	if risk == "" {
		risk = "stable"
	}
	return Channel{
		Track:  track,
		Risk:   risk,
		Branch: ch.Branch,
	}
}
func ( ch Channel ) Normalize ( ) Channel { track := ch . Track if track == " " { track = " " } risk := ch . Risk if risk == " " { risk = " " } return Channel { Track : track , Risk : risk , Branch : ch . Branch , } }
Normalize the channel with normalized track, risk and names.
Normalize the channel with normalized track risk and names .