config

package
v0.0.0-...-d02bd3d Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppConfigFolder

func GetAppConfigFolder() string

GetAppConfigFolder returns the config folder

func GetDBFile

func GetDBFile() string

GetDBFile returns the log file path

func GetLogFile

func GetLogFile() string

GetLogFile returns the log file path

Types

type AppConfig

type AppConfig struct {
	Verbose   bool
	BinFolder string
	DbFolder  string
}

AppConfig is the configuration struct

func LoadSetupSpecsConfig

func LoadSetupSpecsConfig() AppConfig

LoadSetupSpecsConfig loads setup from file

func (*AppConfig) ExpandedBinFolder

func (s *AppConfig) ExpandedBinFolder() string

ExpandedBinFolder returns the parsed/expanded bin folder path

Jump to

Keyboard shortcuts

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