package service import ( configM "git.loafle.net/overflow/overflow_commons_go/modules/config/model" ) type ConfigService struct { } func (cs *ConfigService) Add() { } func (cs *ConfigService) Remove() { } func (cs *ConfigService) Init(configs []map[string]configM.Config) bool { for _, item := range configs { for k, v := range item { } } return true }