Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppName ¶
func GetAppName() string
func GetGitCommit ¶
func GetGitCommit() string
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.
Click to show internal directories.
Click to hide internal directories.