cmd

package
v0.0.0-...-bb8a427 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func New

func New() *Cmd

func (*Cmd) Execute

func (c *Cmd) Execute()

type VCSBuildInfo

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

func ReadVCSBuildInfo

func ReadVCSBuildInfo() VCSBuildInfo

ReadVCSBuildInfo reads vcs build info from runtime/debug.ReadBuildInfo

func (VCSBuildInfo) VCSStr

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