A "nice" wrapper around findMissing()
()
| 106 | |
| 107 | // A "nice" wrapper around findMissing() |
| 108 | func (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 |
no test coverage detected