func MakePlatform(arch, os, series string) (Platform, error) {
	if arch == "" {
		return Platform{}, errors.NotValidf("arch %q", arch)
	}
	return Platform{
		Architecture: arch,
		OS:           os,
		Series:       series,
	}, nil
}
// MakePlatform creates a core charm Platform from a set of component parts.
MakePlatform creates a core charm Platform from a set of component parts.
// MakePlatform creates a core charm Platform from a set of component parts .
func MakePlatform(arch, os, series string) (Platform, error) {
	if arch == "" {
		return Platform{}, errors.NotValidf("arch %q", arch)
	}
	return Platform{
		Architecture: arch,
		OS:           os,
		Series:       series,
	}, nil
}
func MakePlatform ( arch , os , series string ) ( Platform , error ) { if arch == " " { return Platform { } , errors . NotValidf ( " " , arch ) } return Platform { Architecture : arch , OS : os , Series : series , } , nil }
MakePlatform creates a core charm Platform from a set of component parts.
MakePlatform creates a core charm Platform from a set of component parts .