2016-02-09 14:32:36 +00:00
|
|
|
// Package userConfig eases the use of config files in a user's home directory
|
|
|
|
package userConfig
|
|
|
|
|
2016-03-27 15:43:00 +00:00
|
|
|
// ConfigFile is the interface for all config files
|
|
|
|
type ConfigFile interface {
|
|
|
|
SetName(string)
|
|
|
|
GetName() string
|
|
|
|
SetPath(string)
|
|
|
|
GetPath() string
|
|
|
|
Load() error
|
|
|
|
Save() error
|
|
|
|
Set(string, string)
|
|
|
|
Get(string) string
|
|
|
|
GetFullPath() string
|
2016-02-09 14:32:36 +00:00
|
|
|
}
|