MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / Get

Method Get

lib/gh/get_current_user_test.go:33–39  ·  view source on GitHub ↗
(ctx context.Context, user string)

Source from the content-addressed store, hash-verified

31}
32
33func (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
41func (m *MockUsersClient) ListEmails(ctx context.Context, opts *github.ListOptions) (
42 []*github.UserEmail, *github.Response, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected