cmd

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd added in v0.4.0

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

func New added in v0.4.0

func New() *Cmd

func (*Cmd) Execute added in v0.4.0

func (c *Cmd) Execute()

type VCSBuildInfo added in v0.4.0

type VCSBuildInfo struct {
	GoVersion   string
	ModVersion  string
	VCS         string
	VCSRevision string
	VCSTime     time.Time
	VCSModified bool
}

func ReadVCSBuildInfo added in v0.4.0

func ReadVCSBuildInfo() VCSBuildInfo

ReadVCSBuildInfo reads vcs build info from runtime/debug.ReadBuildInfo

func (VCSBuildInfo) VCSStr added in v0.4.0

func (v VCSBuildInfo) VCSStr() string

VCSStr formats vcs info

Jump to

Keyboard shortcuts

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