Documentation
¶
Index ¶
- func DeleteProfile(name string)
- func GetAPIKey() (string, error)
- func GetConfigPath() string
- func Init(cfgFile, profileName string) error
- func IsDebug() bool
- func ListProfiles() []string
- func Save() error
- func SetDebug(d bool)
- func SetDefaultProfile(name string)
- func SetProfile(p Profile)
- type Config
- type Profile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteProfile ¶
func DeleteProfile(name string)
DeleteProfile removes a profile from the configuration
func SetDefaultProfile ¶
func SetDefaultProfile(name string)
SetDefaultProfile sets the default profile name
Types ¶
Click to show internal directories.
Click to hide internal directories.