conf

package
v1.10.49 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 0 Imported by: 18

Documentation

Overview

Package conf are used to store the app-level constants (app name/vaersion) for cmdr and your app. The names, such as app name, version, and building tags, would be held.

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppName app name.
	// it'll be rewritten by build-arg.
	AppName string

	// Version app version.
	// it'll be rewritten by build-arg.
	Version = "0.2.1"
	// Buildstamp app built stamp.
	// it'll be rewritten by build-arg.
	Buildstamp = ""
	// Githash app git hash.
	// it'll be rewritten by build-arg.
	Githash = ""
	// GoVersion `go version` string.
	// it'll be rewritten by build-arg.
	GoVersion = ""

	// GitSummary holds the output of git describe --tags --dirty --always
	GitSummary = ""

	// GitShortVersion from `git describe --long`. [NEVER USED]
	GitShortVersion = ""
	// ServerTag app server tag names.[NEVER USED]
	ServerTag = ""
	// ServerID app server id.[NEVER USED]
	ServerID = ""
	// CfgFile never used [NEVER USED]
	CfgFile string

	// Serial is a serial number (int64) from build-tool.
	// `bgo` can hold and manage a serial number in her runtime environment.
	Serial string
	// SerialString is a random string from build-tool.
	// `bgo can hold and manage a random string in her runtime environment.
	SerialString 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