version

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Major signals backward-incompatible public API changes.
	// This release carries no guarantee that it will be
	// backward compatible with preceding major versions.
	Major = "major"
	// Minor signals backward-compatible public API changes.
	// This release guarantees backward compatibility and
	// stability.
	Minor = "minor"
	// Patch signals changes that don't affect the module's
	// public API or its dependencies. This release
	// guarantees backward compatibility and
	// stability.
	Patch = "patch"
)
View Source
const Header = "Verbis-Version"

Header is the header name used to send the current verbis version in http requests. TODO, Implement in Responses

Variables

View Source
var Prerelease = ""

Prerelease A pre-release marker for the version. If this is "" (empty string) then it means that it is a final release. Otherwise, this is a pre-release such as "dev".

View Source
var SemVer *version.Version

SemVer is an instance of version.Version.

View Source
var Version = "0.0.0"

Version is The main version number that is being run at the moment.

Functions

func Must added in v0.0.3

func Must(v string) *version.Version

func String

func String() string

String returns the complete version string, including prerelease,

Types

type Stage added in v0.0.3

type Stage string

Stage represents the the different version stages that can be defined in a migration such as a Patch, Minor or Major.

Jump to

Keyboard shortcuts

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