Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIG_FOLDER_NAME = ".clc"
View Source
var GetClcHome = func() string { clcHome := os.Getenv("CLC_HOME") if clcHome != "" { return clcHome } homeDir := os.Getenv(HOME_VAR) if homeDir == "" { return "" } return path.Join(homeDir, CONFIG_FOLDER_NAME) }
View Source
var HOME_VAR = "HOME"
Functions ¶
func CreateIfNotExists ¶
func CreateIfNotExists() error
func SetConfigPathFunc ¶
func SetConfigPathFunc(f func() string)
Types ¶
Click to show internal directories.
Click to hide internal directories.