Versions in this module Expand all Collapse all v0 v0.1.0 Aug 7, 2026 Changes in this version + var ErrNoDefault = errors.New("mimeapps: no application associated with MIME type") + var ErrNotFound = errors.New("mimeapps: desktop-file id not found") + type Resolver struct + func Load() *Resolver + func LoadDirs(configDirs, appDirs, desktops []string) *Resolver + func (r *Resolver) AddAssociation(mimeType, id string) error + func (r *Resolver) Candidates(mimeType string) []*desktopentry.Entry + func (r *Resolver) DefaultApp(mimeType string) (*desktopentry.Entry, error) + func (r *Resolver) RemoveAssociation(mimeType, id string) error + func (r *Resolver) SetDefault(mimeType, id string) error