Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_UNIVENV_CONFIG_DIR string = "UNIVENV_CONFIG_DIR" DEFAULT_FILE_BASENAME string = "config" DEFAULT_FILE_EXT string = ".yml" )
Variables ¶
View Source
var DEFAULT_DIR = filepath.Join(sysutil.HomeDir(), ".config", "univenv")
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) GetEnableItems ¶
type ConfigOpener ¶
type ConfigOpener struct {
// contains filtered or unexported fields
}
func (*ConfigOpener) Dir ¶
func (m *ConfigOpener) Dir() string
func (*ConfigOpener) FilePath ¶
func (m *ConfigOpener) FilePath() string
func (*ConfigOpener) Open ¶
func (m *ConfigOpener) Open() (*Config, error)
func (*ConfigOpener) SetFile ¶
func (m *ConfigOpener) SetFile(path string)
func (*ConfigOpener) SetTarget ¶
func (m *ConfigOpener) SetTarget(target string)
Click to show internal directories.
Click to hide internal directories.