code: func (i *Index) Remove(path string) (*Entry, error) {
  	path = filepath.ToSlash(path)
  	for index, e := range i.Entries {
  		if e.Name == path {
  			i.Entries = append(i.Entries[:index], i.Entries[index+1:]...)
  			return e, nil
  		}
  	}
  
  	return nil, ErrEntryNotFound
  }
docs: // Remove remove the entry that match the give path and returns deleted entry.