location

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir() error

CreateDir creates the configuration directory.

func Dir

func Dir() (string, error)

Dir returns the path to the configuration directory. If $XDG_CONFIG_HOME is set, $XDG_CONFIG_HOME/gin is used. Otherwise, $HOME/.config/gin is used.

func Get

func Get() (string, error)

Get returns the path to the configuration file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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