Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReleaseVersion = "None" BuildTS = "None" GitHash = "None" GitBranch = "None" )
Version information.
Functions ¶
func NewHTMLRender ¶
func NewHTMLRender(templ *template.Template, infos []TemplateInfo) render.HTMLRender
Types ¶
type TemplateInfo ¶
type VersionInfo ¶
type VersionInfo struct { ReleaseVersion string `json:"release_version"` BuildTime string `json:"build_time"` BuildGitHash string `json:"build_git_hash"` BuildGitBranch string `json:"build_git_branch"` }
func GetVersionInfo ¶
func GetVersionInfo() VersionInfo
Click to show internal directories.
Click to hide internal directories.