motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.78k stars 318 forks source link

pkg/jwt/github/client.go:49:43: client.Organizations.ListUserTeams undefined #356

Closed whatisgolang closed 5 years ago

whatisgolang commented 5 years ago

Hello,

I download the source code for the current master branch from github, and when I found this error when build: client.Organizations.ListUserTeams undefined. It turns out that there's no such method at go-github master branch, how can handle it. thanks

s4nji commented 5 years ago

@whatisgolang

I was able to reproduce the same error mentioned by trying to build the project on a freshly cloned repository. The error seems to have been caused by missing dependencies: running dep ensure or make deps (or simply make) before attempting to build the project should fix the issue.

Please feel free to reopen the topic if the issue persists.