Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 4372e22

Browse files
authored
[flag] prepare to #6
1 parent be24a81 commit 4372e22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fgit.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ import (
1313
"strings"
1414
)
1515

16+
var timestamp string
17+
var version string
18+
19+
func showVersion() {
20+
fmt.Println("Version:", version)
21+
fmt.Println("Build Time:", timestamp)
22+
}
23+
1624
func debugConnection(url string) bool {
1725
fmt.Print("Test connection...")
1826
response, err := http.Head(url)

0 commit comments

Comments
 (0)