fix: using proper v2 package suffix (fixes #727)

This commit is contained in:
Simone Margaritelli 2024-08-09 18:19:21 +02:00
commit 2659a559c9
131 changed files with 318 additions and 297 deletions

View file

@ -9,9 +9,9 @@ import (
golog "log"
"time"
"github.com/bettercap/bettercap/modules/utils"
"github.com/bettercap/bettercap/network"
"github.com/bettercap/bettercap/session"
"github.com/bettercap/bettercap/v2/modules/utils"
"github.com/bettercap/bettercap/v2/network"
"github.com/bettercap/bettercap/v2/session"
"github.com/bettercap/gatt"

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package ble
@ -6,7 +7,7 @@ import (
"sort"
"time"
"github.com/bettercap/bettercap/network"
"github.com/bettercap/bettercap/v2/network"
"github.com/evilsocket/islazy/ops"
"github.com/evilsocket/islazy/tui"

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package ble
@ -8,7 +9,7 @@ import (
"strconv"
"strings"
"github.com/bettercap/bettercap/network"
"github.com/bettercap/bettercap/v2/network"
"github.com/bettercap/gatt"
"github.com/evilsocket/islazy/tui"

View file

@ -1,9 +1,10 @@
//go:build !windows
// +build !windows
package ble
import (
"github.com/bettercap/bettercap/network"
"github.com/bettercap/bettercap/v2/network"
)
type ByBLERSSISorter []*network.BLEDevice

View file

@ -1,9 +1,10 @@
//go:build windows
// +build windows
package ble
import (
"github.com/bettercap/bettercap/session"
"github.com/bettercap/bettercap/v2/session"
)
type BLERecon struct {