(ctx context.Context, name string)
| 13 | } |
| 14 | |
| 15 | func (p *MultiProvider) Get(ctx context.Context, name string) (string, bool) { |
| 16 | for _, provider := range p.providers { |
| 17 | value, found := provider.Get(ctx, name) |
| 18 | if found { |
| 19 | return value, true |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | return "", false |
| 24 | } |