os

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustUserConfigDir

func MustUserConfigDir(prefix, extension string) string

MustUserConfigDir generates a default config location for a user based on their OS. This location can be used to store any artefacts the app needs for its functioning. It is a pure function. Its only side effect is that results vary depending on which operative system we're in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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