File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ import (
11
11
"runtime"
12
12
)
13
13
14
- var Version = "999.9.9"
14
+ const Version = `2.7.9`
15
+
15
16
var MyName = "scan4all"
16
17
17
18
// 更新到最新版本
Original file line number Diff line number Diff line change @@ -75,8 +75,6 @@ type Options struct {
75
75
// OnResultCallback (hostname, ip, ports)
76
76
type OnResultCallback func (string , string , []int )
77
77
78
- const Version = `2.0.7`
79
-
80
78
// ParseOptions parses the command line flags provided by a user
81
79
func ParseOptions () * Options {
82
80
options := & Options {}
@@ -183,7 +181,7 @@ func ParseOptions() *Options {
183
181
//showBanner()
184
182
185
183
if options .Version {
186
- gologger .Info ().Msgf ("Current Version: %s\n " , Version )
184
+ gologger .Info ().Msgf ("Current Version: %s\n " , util . Version )
187
185
os .Exit (0 )
188
186
}
189
187
You can’t perform that action at this time.
0 commit comments