Help us shape the future of Go! Take the 2026 Go Developer Survey

github

package
v0.0.0-...-27d1280 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(accessToken string, o *ClientOptions) *Client

func (*Client) ListOrgRepos

func (c *Client) ListOrgRepos(orgName string, private bool) ([]Repo, error)

type ClientOptions

type ClientOptions struct {
	HTTPClient *http.Client
	Languages  []string
}

type Languages

type Languages map[string]uint64

type Repo

type Repo struct {
	Name         string `json:"name"`
	FullName     string `json:"full_name"`
	SshURL       string `json:"ssh_url"`
	LanguagesURL string `json:"languages_url"`
}

Jump to

Keyboard shortcuts

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