func (s SpaceInfos) GetByName(name string) *SpaceInfo {
	for _, space := range s {
		if string(space.Name) == name {
			return &space
		}
	}
	return nil
}
// GetByName returns a reference to the space with the input name
// if it exists in the collection. Otherwise nil is returned.
GetByName returns a reference to the space with the input name
if it exists in the collection. Otherwise nil is returned.
// GetByName returns a reference to the space with the input name // if it exists in the collection . Otherwise nil is returned .
func (s SpaceInfos) GetByName(name string) *SpaceInfo {
	for _, space := range s {
		if string(space.Name) == name {
			return &space
		}
	}
	return nil
}
func ( s SpaceInfos ) GetByName ( name string ) * SpaceInfo { for _ , space := range s { if string ( space . Name ) == name { return & space } } return nil }
GetByName returns a reference to the space with the input name
if it exists in the collection.
GetByName returns a reference to the space with the input name if it exists in the collection .