Documentation
¶
Overview ¶
Package xdg is a helper package to get configuration directories according to the XDG Base Directory Specification
See docs:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Index ¶
- func Cache(name string) string
- func Config(name string) string
- func ConfigDirs(name string) []string
- func Data(name string) string
- func DataDirs(name string) []string
- func NewDirFinder(name string) *dirFinder
- func Runtime(name string) string
- func State(name string) string
- type Dir
- type DirFinder
- type XDG
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDirs ¶
func NewDirFinder ¶
func NewDirFinder(name string) *dirFinder
Types ¶
Click to show internal directories.
Click to hide internal directories.