A GetterFunc implements Getter with a function.
func(ctx context.Context, key string, dest Sink) error
| 50 | |
| 51 | // A GetterFunc implements Getter with a function. |
| 52 | type GetterFunc func(ctx context.Context, key string, dest Sink) error |
| 53 | |
| 54 | func (f GetterFunc) Get(ctx context.Context, key string, dest Sink) error { |
| 55 | return f(ctx, key, dest) |
no outgoing calls
no test coverage detected
searching dependent graphs…