func (p Platform) Normalize() Platform {
	os := p.OS
	if os == "unknown" {
		os = ""
	}

	series := p.Series
	if series == "unknown" {
		os = ""
		series = ""
	}

	return Platform{
		Architecture: p.Architecture,
		OS:           os,
		Series:       series,
	}
}
// Normalize the platform with normalized architecture, os and series.
Normalize the platform with normalized architecture, os and series.
// Normalize the platform with normalized architecture os and series .
func (p Platform) Normalize() Platform {
	os := p.OS
	if os == "unknown" {
		os = ""
	}
	series := p.Series
	if series == "unknown" {
		os = ""
		series = ""
	}
	return Platform{
		Architecture: p.Architecture,
		OS:           os,
		Series:       series,
	}
}
func ( p Platform ) Normalize ( ) Platform { os := p . OS if os == " " { os = " " } series := p . Series if series == " " { os = " " series = " " } return Platform { Architecture : p . Architecture , OS : os , Series : series , } }
Normalize the platform with normalized architecture, os and series.
Normalize the platform with normalized architecture os and series .