versionmng

package
v0.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package versionmng manage the software version globally, it's used to have a single point of management to assign the 3nigm4 framework version to all it's components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionManager

type VersionManager struct {
	// contains filtered or unexported fields
}

VersionManager struture holding all required version related data.

func V

func V() *VersionManager

V returns a version manager instance using a singleton pattern approach. If nil initializes a new manager using constant version values. Accepts environment variables to build time define version components.

func (*VersionManager) VersionString

func (v *VersionManager) VersionString() string

VersionString returns a string composing all version components.

Jump to

Keyboard shortcuts

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