MCPcopy Index your code
hub / github.com/commitdev/zero / collectMissing

Method collectMissing

internal/config/moduleconfig/module_config.go:108–113  ·  view source on GitHub ↗

A "nice" wrapper around findMissing()

()

Source from the content-addressed store, hash-verified

106
107// A "nice" wrapper around findMissing()
108func (cfg ModuleConfig) collectMissing() []string {
109 var missing []string
110 findMissing(reflect.ValueOf(cfg), "", "", &missing)
111
112 return missing
113}
114
115// GetParamEnvVarTranslationMap returns a map for translating parameter's `Field` into env-var keys
116// It loops through each parameter then adds to translation map if applicable

Callers 1

LoadModuleConfigFunction · 0.95

Calls 1

findMissingFunction · 0.85

Tested by

no test coverage detected