appdirs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDirs

type AppDirs struct {
	Cache    string
	Data     string
	Log      string
	Settings string
}

AppDirs represents the app's local directories for storing logs etc.

func New

func New() (AppDirs, error)

func (*AppDirs) Folders added in v0.2.0

func (ad *AppDirs) Folders() []string

func (*AppDirs) SetSettings added in v0.4.0

func (ad *AppDirs) SetSettings(p string)

Jump to

Keyboard shortcuts

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