version

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package version provides ways to get the version of the program.

Index

Constants

View Source
const VERSION = "0.1.5"

VERSION defines piladb version. It must be set when creating a new release, otherwise people building the project from source will get an inaccurate version.

Variables

This section is empty.

Functions

func CommitHash

func CommitHash() string

CommitHash returns the commit hash of the repository.

func Version

func Version(v string) string

Version returns piladb version given a v version. If v is empty, defaults to CommitHash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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