stat

package
v0.0.0-...-d007d09 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:   "stat",
		Short: "Statistics subcommands",
	}
)

Functions

func CompareGitVersionString

func CompareGitVersionString(a, b interface{}) int

Types

type GitVersion

type GitVersion struct {
	Major    int
	Minor    int
	Build    int
	Revision int
	Commit   string
	Dirty    bool
}

func ParseGitVersion

func ParseGitVersion(version string) (result GitVersion, err error)

func (GitVersion) Compare

func (version GitVersion) Compare(other GitVersion) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳