key

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//GitKey is GitHub access token
	GitKey = "git-key"
	//OverrideFile override file when has same name with generated file
	OverrideFile = "override-file"
)

Variables

View Source
var Storage = func() string {
	userDir, err := os.UserHomeDir()
	if err != nil {
		panic(err)
	}

	storage := fmt.Sprintf("%v/.axara", userDir)
	if _, err := os.Stat(storage); errors.Is(err, os.ErrNotExist) {
		err = os.Mkdir(storage, os.ModePerm)
		if err != nil {
			panic(err)
		}
	}
	return storage
}

Storage is local database that's created by badger

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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