rversion

package
v3.15.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rversion holds reva's build/version metadata. The values are set at link time on cmd/revad (see the Makefile ldflags) and mirrored here at startup so any package — e.g. the `version` invocation in pkg/invoke — can report the reva version without importing cmd/revad (which would be an import cycle). Fields are empty in binaries built without those ldflags.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the reva release, from the repo VERSION file (e.g. "3.10.4").
	Version string
	// GitCommit is the commit the binary was built from.
	GitCommit string
	// BuildDate is when the binary was built.
	BuildDate string
	// GoVersion is the Go toolchain version used to build it.
	GoVersion string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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