Documentation ¶
Overview ¶
Package gbuild manages the build-in variables from "gf build".
Index ¶
Constants ¶
View Source
const ( BuiltGit = `builtGit` BuiltTime = `builtTime` BuiltVersion = `builtVersion` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildInfo ¶
type BuildInfo struct { GoFrame string // Built used GoFrame version. Golang string // Built used Golang version. Git string // Built used git repo. commit id and datetime. Time string // Built datetime. Version string // Built version. Data map[string]interface{} // All custom built data key-value pairs. }
BuildInfo maintains the built info of current binary.
Click to show internal directories.
Click to hide internal directories.