context

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Config      config.Project
	Token       string
	Git         GitInfo
	ReleaseRepo Repo
	BrewRepo    Repo
	Archives    map[string]string
}

Context carries along some data through the pipes

func New

func New(config config.Project) *Context

New context

type GitInfo

type GitInfo struct {
	CurrentTag  string
	PreviousTag string
	Diff        string
}

GitInfo includes tags and diffs used in some point

type Repo

type Repo struct {
	Owner, Name string
}

Repo owner/name pair

Jump to

Keyboard shortcuts

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