version

package
v1.1.234 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

The version package provides a location to set the release versions for all packages to consume, without creating import cycles.

This package should not import any other fxaudio packages.

Index

Constants

View Source
const Header = "fxaudio-service-version"

Header is the header name used to send the current version in http requests.

Variables

View Source
var BuildNumber = "0"

BuildNumber is the build number. Set during build. Empty for local dev

View Source
var CommitID string

CommitID is the commit information. Set during build. Empty for local dev

View Source
var Prerelease = "dev"

Prerelease is a pre-release marker for the version. If this is "-" (dash) then it means that it is a final release. Otherwise, this is a pre-release such as "dev" (in development), "beta", "rc1", etc.

SemVer is an instance of version.Version. This has the secondary benefit of verifying during tests and init time that our version is a proper semantic version, which should always be the case.

View Source
var Version = "1.1"

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

Functions

func String

func String() string

String returns the complete version string, including prerelease

Types

This section is empty.

Jump to

Keyboard shortcuts

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