version

package
v0.0.92 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package version provides the functions which related to version parse.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSemVersion

func GetSemVersion(output string) (semVersion semver.Version, err error)

GetSemVersion parses the output and returns the semversion

func GetVersion

func GetVersion(output string) string

GetVersion returns the version string from a string

func GreatThan

func GreatThan(target, output string) (ok bool)

GreatThan return true if target is great than output

Types

This section is empty.

Jump to

Keyboard shortcuts

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