code: func (pi *PeerInfos) Get(index int) (info *PeerInfo, _ error) {
  	if index < 0 || index >= len(pi.infos) {
  		return nil, errors.New("index out of bounds")
  	}
  	return &PeerInfo{pi.infos[index]}, nil
  }
docs: // Get returns the peer info at the given index from the slice.