1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-06-16 06:25:23 +00:00

Added mock GetConfig/SetConfig functions

This commit is contained in:
マリウス 2022-12-29 14:34:26 -05:00
parent f8caeaeda9
commit 4433ba3476
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -6,6 +6,15 @@ import (
)
type System struct {
config map[string]interface{}
}
func (sys *System) GetConfig() map[string]interface{} {
return sys.config
}
func (sys *System) SetConfig(cfg *map[string]interface{}) {
sys.config = *cfg
}
func (sys *System) Load() error {