mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 12:38:54 -05:00
14 lines
181 B
Go
14 lines
181 B
Go
package config
|
|
|
|
var config = map[string]string{
|
|
"port": "5200",
|
|
}
|
|
|
|
func Get(key string) string {
|
|
return config[key]
|
|
}
|
|
|
|
func Set(key string, value string) {
|
|
config[key] = value
|
|
}
|