util

package
v0.0.0-...-e611222 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutBranch

func CheckoutBranch(pb ProgressBar, branch string)

func ConfigGet

func ConfigGet(name string) string

func CreateNewBranch

func CreateNewBranch(pb ProgressBar, branch string)

func Exit

func Exit(msg interface{})

func MergeChangesFromBranch

func MergeChangesFromBranch(pb ProgressBar, branch string)

func PullNewChanges

func PullNewChanges(pb ProgressBar)

func PushNewBranchToRemote

func PushNewBranchToRemote(pb ProgressBar, remote string, branch string)

Types

type GithubClient

type GithubClient struct {
	Repository string
	// contains filtered or unexported fields
}

func NewGithubClient

func NewGithubClient() *GithubClient

func (*GithubClient) CreateReleasePullRequest

func (gc *GithubClient) CreateReleasePullRequest(pb ProgressBar, rlsDate string, rlsBranch string) *github.PullRequest

func (*GithubClient) UpdateReleasePullRequestBodyWithTickets

func (gc *GithubClient) UpdateReleasePullRequestBodyWithTickets(pb ProgressBar, prNum int)

type ProgressBar

type ProgressBar struct {
	// contains filtered or unexported fields
}

func NewProgressBar

func NewProgressBar() ProgressBar

func (*ProgressBar) Render

func (pb *ProgressBar) Render()

func (*ProgressBar) Start

func (pb *ProgressBar) Start(msg string) *progress.Tracker

func (*ProgressBar) StopRendering

func (pb *ProgressBar) StopRendering()

Jump to

Keyboard shortcuts

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