github

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 2 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 struct {
	Client *gh.Client
}

func NewClient

func NewClient() *Client

func (*Client) FetchLatestTag

func (c *Client) FetchLatestTag(owner, repo string) (string, error)

type GitHubClientInterface

type GitHubClientInterface interface {
	FetchLatestTag(string, string) (string, error)
}

type MockClient

type MockClient struct {
	LatestTag string
	Err       error
}

func (*MockClient) FetchLatestTag

func (m *MockClient) FetchLatestTag(owner, repo string) (string, error)

Jump to

Keyboard shortcuts

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