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:
parent
f8caeaeda9
commit
4433ba3476
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user