githubtest

package
v0.0.0-...-239384d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 6 Imported by: 0

Documentation

Overview

Package githubtest provides a test client and server for testing the GitHub API client.

Index

Constants

View Source
const (
	TestOwner = "test-owner"
	TestRepo  = "test-repo"
	TestToken = "test-token"
)

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, t *testing.T, cfg *issues.Config) (*issues.Client, *http.ServeMux)

Setup sets up a test HTTP server along with a issues.Client that is configured to talk to that test server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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