fake

package
v5.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func YAML

func YAML(obj interface{}) string

Types

type Branch

type Branch struct {
	Meta  gh.Branch
	Files Files
}

type Branches

type Branches map[string]Branch

type Files

type Files []gh.File

func ScanFiles

func ScanFiles(root string) Files

type GitHub

type GitHub map[string]Repos

func (*GitHub) GetBranch

func (d *GitHub) GetBranch(l *gh.Location) (*gh.Branch, error)

func (*GitHub) GetFile

func (d *GitHub) GetFile(l *gh.Location) (gh.File, error)

func (*GitHub) GetFiles

func (d *GitHub) GetFiles(l *gh.Location) ([]gh.File, error)

func (*GitHub) GetStatuses

func (d *GitHub) GetStatuses(location *gh.Location) ([]github.RepoStatus, error)

type Repos

type Repos map[string]Branches

Jump to

Keyboard shortcuts

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