github

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Github

type Github interface {
	Teams(org string) (error, []Team)
	TeamRepos(teamId int) (error, []Repo)
	OrgRepos(org string) (error, []Repo)
}

func NewGithub

func NewGithub(username string, apiToken string, apiUrl string) Github

type Repo

type Repo struct {
	SshUrl string `json:"ssh_url"`
	Name   string `json:"name"`
}

type Team

type Team struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL