MCPcopy Create free account
hub / github.com/V2RaySSR/RealityChecker / showVersion

Method showVersion

internal/cmd/root.go:118–124  ·  view source on GitHub ↗

showVersion 显示版本信息

()

Source from the content-addressed store, hash-verified

116
117// showVersion 显示版本信息
118func (r *RootCmd) showVersion() {
119 fmt.Printf("Reality协议目标网站检测工具\n")
120 fmt.Printf("版本: %s\n", version.GetVersion())
121 fmt.Printf("提交: %s\n", version.GetCommit())
122 fmt.Printf("构建时间: %s\n", version.GetBuildTime())
123 fmt.Printf("GitHub: https://github.com/V2RaySSR/RealityChecker\n")
124}
125
126// cleanup 清理资源
127func (r *RootCmd) cleanup() {

Callers 1

ExecuteMethod · 0.95

Calls 3

GetVersionFunction · 0.92
GetCommitFunction · 0.92
GetBuildTimeFunction · 0.92

Tested by

no test coverage detected