Help us shape the future of Go! Take the 2026 Go Developer Survey

context

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 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 Context

type Context struct {
	ctx.Context
	Config      config.Project
	Token       string
	Git         GitInfo
	ReleaseRepo Repo
	BrewRepo    Repo
	Archives    map[string]string
	Version     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