github

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 5 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 interface {
	PullRequestBody(number int) (string, error)
}

Client is an interface for github.

func NewClient

func NewClient(httpClient *http.Client, owner, repo string) Client

NewClient creates a new github client.

type Mock

type Mock struct {
	mock.Mock
}

Mock is an autogenerated mock type for the Client type

func (*Mock) PullRequestBody

func (_m *Mock) PullRequestBody(number int) (string, error)

PullRequestBody provides a mock function with given fields: number

Jump to

Keyboard shortcuts

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