github

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupGH

func SetupGH() (client *github.Client, mux *http.ServeMux, serverURL string, teardown func())

SetupGH Setup a GitHUB httptest connection, from go-github test-suit

func SetupGitTree

func SetupGitTree(t *testing.T, mux *http.ServeMux, dir string, event *info.Event, recursive bool)

SetupGitTree Take a dir and fake a full GitTree GitHub api calls reply recursively over a muxer

Types

This section is empty.

Jump to

Keyboard shortcuts

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