version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Semantic

func Semantic(v string) string

Semantic returns a valid Semantic Version based on the given string. Empty strings are replaced by the embedded module version, if available. Valid strings are returned as-is. Strings in `git describe --long`-format are converted. Returns "0.0.0-dev" if both validation and conversion fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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