Skip to content

Commit

Permalink
Update go module to current version (v2.0.0) (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ullaakut authored Oct 1, 2020
1 parent 8d64c8e commit 2d0165c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import (
"log"
"time"

"github.com/Ullaakut/nmap"
"github.com/Ullaakut/nmap/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_scan/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"time"

"github.com/Ullaakut/nmap"
"github.com/Ullaakut/nmap/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_scan_async/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"strings"

"github.com/Ullaakut/nmap"
"github.com/Ullaakut/nmap/v2"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/count_hosts_by_os/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"log"

"github.com/Ullaakut/nmap"
osfamily "github.com/Ullaakut/nmap/pkg/osfamilies"
"github.com/Ullaakut/nmap/v2"
osfamily "github.com/Ullaakut/nmap/v2/pkg/osfamilies"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/service_detection/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/Ullaakut/nmap"
"github.com/Ullaakut/nmap/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/spoof_and_decoys/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/Ullaakut/nmap"
"github.com/Ullaakut/nmap/v2"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module github.com/Ullaakut/nmap
module github.com/Ullaakut/nmap/v2

go 1.15

2 changes: 1 addition & 1 deletion xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"time"

family "github.com/Ullaakut/nmap/pkg/osfamilies"
family "github.com/Ullaakut/nmap/v2/pkg/osfamilies"
)

// Run represents an nmap scanning run.
Expand Down

0 comments on commit 2d0165c

Please sign in to comment.