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

version

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(p cli.Params) *cobra.Command

Command returns version command

Types

type Client added in v0.3.0

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

func NewClient added in v0.3.0

func NewClient(timeout time.Duration, options ...Option) *Client

type GHVersion added in v0.3.0

type GHVersion struct {
	TagName string `json:"tag_name"`
	HTMLURL string `json:"html_url"`
}

type Option added in v0.3.0

type Option func(*Client)

func SetHTTPClient added in v0.3.0

func SetHTTPClient(httpClient *http.Client) Option

Jump to

Keyboard shortcuts

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