Skip to content

New google/go-github API compatibility #7

@dalen

Description

@dalen

It seems something has changed in the google/go-github API so this doesn't compile anymore:

# github.com/trevoro/sshauth
src/github.com/trevoro/sshauth/github.go:35:41: not enough arguments in call to c.client.Users.ListKeys
        have (string, nil)
        want (context.Context, string, *github.ListOptions)
src/github.com/trevoro/sshauth/github.go:48:63: not enough arguments in call to c.client.Organizations.ListTeamMembers
        have (int, *github.OrganizationListTeamMembersOptions)
        want (context.Context, int64, *github.OrganizationListTeamMembersOptions)
src/github.com/trevoro/sshauth/github.go:65:51: not enough arguments in call to c.client.Organizations.ListTeams
        have (string, nil)
        want (context.Context, string, *github.ListOptions)
src/github.com/trevoro/sshauth/github.go:76:30: cannot use *team.ID (type int64) as type int in argument to c.GetTeamMembersByID

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions