version

package
v1.0.52 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppName

func GetAppName() string

func GetGitCommit

func GetGitCommit() string

func GetVersion

func GetVersion() string

GetVersion for get current version.

func PrintVersion

func PrintVersion()

PrintVersion print out the current version of application and compiler.

func SetVersion

func SetVersion(ver, name, git, bdate string)

SetVersion for setup version string.

func VersionMiddleware

func VersionMiddleware() gin.HandlerFunc

VersionMiddleware : add version to header.

Types

This section is empty.

Jump to

Keyboard shortcuts

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