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.
Click to show internal directories.
Click to hide internal directories.