Documentation
¶
Overview ¶
包gbuild管理"gf build"中的内置变量。 md5:c98a1c81088c9728
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 // 使用的GoFrame版本。 md5:f48f34673b81dcdc Golang string // 使用的Golang版本构建。 md5:3a88eeca4a698cae Git string // 使用git仓库构建的,包含提交ID和日期时间。 md5:31599fedeb28a501 Time string // Built datetime. Version string // Built version. Data map[string]interface{} // 所有自定义构建的数据键值对。 md5:fe64f79fd979385c }
BuildInfo 保存了当前二进制文件的构建信息。 md5:fccdfbf6d632a3f0
Click to show internal directories.
Click to hide internal directories.