github

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: MIT Imports: 4 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 {
	RepoURL string

	FullRepo string
	// contains filtered or unexported fields
}

Client represents GitHub client

func NewClient

func NewClient(owner, repo string) (*Client, error)

NewClient creates a new GitHub client from a user name and a repo name

func (Client) GetLatestTag

func (g Client) GetLatestTag() (string, error)

GetLatestTag returns the latest tag from a GitHub release

Jump to

Keyboard shortcuts

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