github

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	Client *github.Client
	// contains filtered or unexported fields
}

GitHub struct

func Initialize

func Initialize(owner, repo string) *GitHub

Initialize initialize

func (*GitHub) DeleteReleases

func (g *GitHub) DeleteReleases(dry bool, year, months, days int, prefix string) error

DeleteReleases delete release tag

func (*GitHub) DeleteTags

func (g *GitHub) DeleteTags(dry bool, year, months, days int, prefix string) error

DeleteTags delete release tag

func (*GitHub) ListReleases

func (g *GitHub) ListReleases(year, months, days int, prefix string) []*github.RepositoryRelease

ListReleases get releases

func (*GitHub) ListTags

func (g *GitHub) ListTags(year, months, days int, prefix string) []*github.RepositoryTag

ListTags get tags from github api

Jump to

Keyboard shortcuts

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