code: func (sm *SegmentMap) GetSegment(index int64) (map[string]interface{}, error) {
  	if index >= sm.size || index < 0 {
  		return nil, errors.Errorf("index out of bound: %d", index)
  	}
  
  	return sm.maps[index], nil
  }
docs: // GetSegment gets the map specific by index.