version

package
v0.0.1-20220804-0002 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(version AppVersion)

Types

type AppVersion

type AppVersion struct {
	ProjectName string // what's the project name -> for example: connext-express
	Version     string // This is the version of the app:  1.0.0
	ServiceName string // this is the service name (it's optional)

	BuildTime time.Time // WHen it has being built
	BuildBy   string    // By what user has being built

	// Git Details
	GitCommitId   string    // This is the latest commit id
	GitCommitDate time.Time // This is the latest commit date
	GitAuthorName string    // This is the author of the latest commit
}

func GetAppVersion

func GetAppVersion() AppVersion

Jump to

Keyboard shortcuts

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