Documentation
¶
Index ¶
Constants ¶
View Source
const ( VersionFalse versionValue = 0 VersionTrue versionValue = 1 VersionRaw versionValue = 2 )
定义一些常量
Variables ¶
This section is empty.
Functions ¶
func PrintAndExitIfRequested ¶
func PrintAndExitIfRequested()
PrintAndExitIfRequested 检查 -version 标志是否被传递,如果传递,则打印版本并退出
func VersionVar ¶
VersionVar 定义一个标志
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.