18 lines
477 B
Go
18 lines
477 B
Go
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// Package version holds the version of the motorino binary.
|
|
//
|
|
// The release build stamps the value with
|
|
//
|
|
// -ldflags "-X git.kmalloc.org/squid/motorino/internal/version.value=1.2.3"
|
|
//
|
|
// and an unstamped build reports "dev".
|
|
package version
|
|
|
|
// value is the version stamped by the linker; it stays "dev" for local builds.
|
|
var value = "dev"
|
|
|
|
// String returns the version of this build.
|
|
func String() string {
|
|
return value
|
|
}
|