- a tiny low-level library with a minimal API
- that provides the platform-specific, user-accessible locations
- for retrieving and storing configuration, cache and other data
- on Linux, Windows, macOS and other platforms.
The library provides the location of these directories by leveraging the mechanisms defined by
- the XDG base directory and the XDG user directory specifications on Linux
- the Known Folder API on Windows
- the Standard Directories guidelines on macOS
This library is written in Go, and supports Linux, macOS and Windows. Other platforms are also supported; they use the XDG conventions.
It's mid-level sister library, directories, is available for Rust (directories-rs) and on the JVM (directories-jvm).
Licensed under Apache License 2.0.