code: func ConvertSpacesFromModel(request *http.Request, spaces []space.Space, additional ...SpaceConvertFunc) ([]*app.Space, error) {
  	var result = make([]*app.Space, len(spaces))
  	for i, p := range spaces {
  		spaceData, err := ConvertSpaceFromModel(request, p, additional...)
  		if err != nil {
  			return nil, err
  		}
  		result[i] = spaceData
  	}
  	return result, nil
  }
docs: // ConvertSpacesFromModel converts between internal and external REST representation