Skip to content

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

License

Notifications You must be signed in to change notification settings

rishvic/dirs-go

Repository files navigation

GitHub

dirs

Introduction

  • 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

Platforms

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).

License

Licensed under Apache License 2.0.

About

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages