version

package
v0.0.0-...-223af15 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package version is used to define and print a consistent version number across all the binaries (reproxy, rewrapper, dumpstats and bootstrap) built from re-client repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentVersion

func CurrentVersion() string

CurrentVersion returns the current version number in semver format.

func PrintAndExitOnVersionFlag

func PrintAndExitOnVersionFlag(info bool)

PrintAndExitOnVersionFlag checks if the VersionFlag is specified, and if it is, then it prints the current version number and exits. If info is true, the version is also printed to the Info log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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