Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoConfig = "-no-config" DefaultConfigFile = "g.yaml" )
Variables ¶
View Source
var ( InitConfigDir util.Once Dir = "" )
View Source
var Default = Config{ Args: make([]string, 0), }
Functions ¶
func GetUserConfigDir ¶
Types ¶
type Config ¶
type ErrReadConfig ¶
type ErrReadConfig struct { Location string // contains filtered or unexported fields }
func (ErrReadConfig) Error ¶
func (e ErrReadConfig) Error() string
Click to show internal directories.
Click to hide internal directories.