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

github

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultClient is the default GitHub client.
	DefaultClient = &defaultGitHub{}
)

Functions

This section is empty.

Types

type GitHub

type GitHub interface {
	CommitSHA1(ctx context.Context, repo Repo, refSpec string) (string, error)
	Contents(ctx context.Context, repo Repo, path, sha1 string) (*github.RepositoryContent, []*github.RepositoryContent, error)
}

GitHub is an interface for communicating with GitHub.

type Repo

type Repo struct {
	Org  string
	Repo string
}

Repo is a GitHub repo

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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