Documentation ¶
Overview ¶
Package bininfo 将编译时源码的 git 版本信息(当前 commit log 的 sha 值和 commit message),编译时间,Go 版本,平台打入程序中 编译时传入这些信息的方式见 naza 的编译脚本: https://github.com/q191201771/naza/blob/master/build.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 初始化为 unknown,如果编译时没有传入这些值,则为 unknown GitCommitLog = "unknown" GitStatus = "unknown" BuildTime = "unknown" BuildGoVersion = "unknown" )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.