Documentation
¶
Index ¶
Constants ¶
View Source
const (
FILENAME = ".env.local"
)
Variables ¶
View Source
var ( FILE_DIR = filepath.Join(commons.WORKING_DIR, commons.CONFIG_FOLDER_NAME) FILE_LOC = filepath.Join(FILE_DIR, FILENAME) )
Functions ¶
func LoadOrNew ¶
Calls the Load() function. But if that function call fails, it creates a new file and returns an empty config.
Types ¶
Click to show internal directories.
Click to hide internal directories.