verutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package verutil provides version utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Regulate

func Regulate(s string) string

Regulate regulates Go version string as semantic versioning.

Examples:

go1.19    -> v1.19.0
go1.18.6  -> v1.18.6
go1.20rc1 -> v1.20.0-rc1

Types

This section is empty.

Jump to

Keyboard shortcuts

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