Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New google/go-github API compatibility #7

Open
dalen opened this issue Mar 19, 2018 · 1 comment
Open

New google/go-github API compatibility #7

dalen opened this issue Mar 19, 2018 · 1 comment

Comments

@dalen
Copy link

dalen commented Mar 19, 2018

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
@dalen dalen changed the title New google/go-github API compatibiligy New google/go-github API compatibility Apr 16, 2018
@nttuyen
Copy link

nttuyen commented Dec 22, 2018

Is there any plan to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants