cfgpath

package
v3.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: LGPL-3.0 Imports: 5 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigPath

func GetConfigPath(appName string) string

GetConfigPath returns the location for which the configuration files are stored. Linux: we follow the XDG Base Directory specification macOS: $HOME/Library/Application Support/appName Windows: %AppData%/appName Other: ./appName (we use current directory)

func GetDataPath

func GetDataPath(appName string) string

GetDataPath returns the location for which the data files are stored. Linux: we follow the XDG Base Directory specification All others: the "data" directory in the path retunred by GetConfigPath

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL