(ns, key string)
| 489 | } |
| 490 | |
| 491 | func nskey(ns, key string) string { |
| 492 | if ns != "" { |
| 493 | key = fmt.Sprintf("%s.%s", ns, key) |
| 494 | } |
| 495 | return key |
| 496 | } |
| 497 | |
| 498 | func isRequired(key string) bool { |
| 499 | return viper.GetBool(fmt.Sprintf("required.%s", key)) |
no test coverage detected