package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jun 8, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Info struct {
GitVersion string `json:"gitVersion"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Get 返回详尽的代码库版本信息,用来标明二进制文件由哪个版本的代码构建.
Text 将版本信息编码为 UTF-8 格式的文本,并返回.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.