Peter Kurfer
108444e094
- remove plugin API due to incompatibility issues - add Docker build to GitHub Actions - add custom container friendly config file
15 lines
294 B
Go
15 lines
294 B
Go
package config
|
|
|
|
var (
|
|
registeredDefaults = make(map[string]interface{})
|
|
// default aliases
|
|
registeredAliases = map[string]string{}
|
|
)
|
|
|
|
func AddDefaultValue(key string, val interface{}) {
|
|
registeredDefaults[key] = val
|
|
}
|
|
|
|
func AddAlias(alias, orig string) {
|
|
registeredAliases[alias] = orig
|
|
}
|