Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HomeDirPath, _ = homedir.Dir()
Functions ¶
func GetConfigPath ¶
func GetConfigPath() string
func NewConfigPathService ¶
func NewConfigPathService() (svc interfaces.WithConfigPath)
Types ¶
type Config ¶
type Config struct {
Name string
}
func (*Config) WatchConfig ¶
func (c *Config) WatchConfig()
type InitConfigOptions ¶
type InitConfigOptions struct {
Name string
}
type PathService ¶
type PathService struct {
// contains filtered or unexported fields
}
func (*PathService) GetConfigPath ¶
func (svc *PathService) GetConfigPath() (path string)
func (*PathService) SetConfigPath ¶
func (svc *PathService) SetConfigPath(path string)
Click to show internal directories.
Click to hide internal directories.