14 lines
179 B
Go
14 lines
179 B
Go
package settings
|
|
|
|
type ConfigContainer struct {
|
|
Current *Config
|
|
}
|
|
|
|
var (
|
|
Container = &ConfigContainer{}
|
|
)
|
|
|
|
func SetCurrentConfig(config *Config) {
|
|
Container.Current = config
|
|
}
|