Function mergeConfigs
has 92 lines of code (exceeds 50 allowed). Consider refactoring. New
New
func mergeConfigs(baseConfig moleculer.Config, userConfig []*moleculer.Config) moleculer.Config {
if len(userConfig) > 0 {
for _, config := range userConfig {
if config.Services != nil {
baseConfig.Services = mergeMaps(baseConfig.Services, config.Services)