code: func (i *Index) Glob(pattern string) (matches []*Entry, err error) {
  	pattern = filepath.ToSlash(pattern)
  	for _, e := range i.Entries {
  		m, err := match(pattern, e.Name)
  		if err != nil {
  			return nil, err
  		}
  
  		if m {
  			matches = append(matches, e)
  		}
  	}
  
  	return
  }
docs: // Glob returns the all entries matching pattern or nil if there is no matching
  // entry. The syntax of patterns is the same as in filepath.Glob.