Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5cc63e3

Browse files
init commit
1 parent 6000ae2 commit 5cc63e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module turbo-scanner
1+
module github.com/mytechnotalent/turbo-scanner
22

33
go 1.17

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import (
44
"fmt"
55
"runtime"
66
"sort"
7+
8+
"github/mytechnotalent/turbo-scanner/routine"
79
)
810

911
func main() {
@@ -16,7 +18,7 @@ func main() {
1618
var openports []int
1719

1820
for i := 0; i < cap(ports); i++ {
19-
go routine(ports, results)
21+
go routine.Routine(ports, results)
2022
}
2123

2224
go func() {

0 commit comments

Comments
 (0)