code: func (points *PointsIndex) GetAll() map[string]Point {
  	newpoints := make(map[string]Point, 0)
  	for i, p := range points.currentPosition {
  		newpoints[i] = p
  	}
  	return newpoints
  }
docs: // GetAll get all Points from the index as a map from id to point