(ctx context.Context, user string)
| 31 | } |
| 32 | |
| 33 | func (m *MockUsersClient) Get(ctx context.Context, user string) (*github.User, *github.Response, error) { |
| 34 | if m.GetFunc == nil { |
| 35 | panic("GetFunc not set") |
| 36 | } |
| 37 | |
| 38 | return m.GetFunc(ctx, user) |
| 39 | } |
| 40 | |
| 41 | func (m *MockUsersClient) ListEmails(ctx context.Context, opts *github.ListOptions) ( |
| 42 | []*github.UserEmail, *github.Response, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected