Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultPath is path of config and data of pdu DefaultPath = ".pdu" // DefaultConfigType is type of config file DefaultConfigType = "yml" // DefaultConfigFile is file name of config file DefaultConfigFile = "config." + DefaultConfigType )
View Source
const ( VersionMajor = 0 // Major version component of the current release VersionMinor = 1 // Minor version component of the current release VersionPatch = 0 // Patch version component of the current release VersionMeta = "unstable" // Version metadata to append to the version string )
Version
Variables ¶
View Source
var Version = func() string { v := fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionPatch) if VersionMeta != "" { v += "-" + VersionMeta } return v }()
Version holds the textual version string.
Functions ¶
This section is empty.
Types ¶
This section is empty.