| 9 | type GetFunc func(ctx context.Context, query *aur.Query) ([]aur.Pkg, error) |
| 10 | |
| 11 | type MockAUR struct { |
| 12 | GetFn GetFunc |
| 13 | } |
| 14 | |
| 15 | func (m *MockAUR) Get(ctx context.Context, query *aur.Query) ([]aur.Pkg, error) { |
| 16 | if m.GetFn != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected