Documentation ¶ Index ¶ type Config type Service func New(c Config) (*Service, error) func (s *Service) GetAll() ([]*github.Team, error) func (s *Service) GetMembers(teamSlug string) ([]*github.User, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // Name of the GitHub organization owning our repository. GithubOrganization string // Github personal access token (PTA) to use for client authentication. GithubAuthToken string } type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(c Config) (*Service, error) New instantiates a new teams service. func (*Service) GetAll ¶ func (s *Service) GetAll() ([]*github.Team, error) Return all teams in the Github organization. func (*Service) GetMembers ¶ func (s *Service) GetMembers(teamSlug string) ([]*github.User, error) Return member users for a team Source Files ¶ View all Source files errors.go teams.go Click to show internal directories. Click to hide internal directories.