release

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version, Commit, BuildDate string
)

Functions

This section is empty.

Types

type Release

type Release struct {
	BuildDate string
	Commit    string
	Header    string
	OsArch    string
	Version   string
}

Release

func NewRelease

func NewRelease(os, arch string) *Release

NewRelease

type ReleaseOutput

type ReleaseOutput struct {
	Writer io.Writer
}

func NewReleaseOutput

func NewReleaseOutput(w io.Writer) ReleaseOutput

func (ReleaseOutput) Text

func (v ReleaseOutput) Text(r *Release) error

Jump to

Keyboard shortcuts

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