Update go mod and imports to v2

This commit is contained in:
mochi-co
2022-12-11 11:50:36 +00:00
parent be164fa715
commit 74ed8cd046
41 changed files with 109 additions and 109 deletions

View File

@@ -11,10 +11,10 @@ import (
"syscall"
"time"
"github.com/mochi-co/mqtt"
"github.com/mochi-co/mqtt/hooks/auth"
"github.com/mochi-co/mqtt/listeners"
"github.com/mochi-co/mqtt/packets"
"github.com/mochi-co/mqtt/v2"
"github.com/mochi-co/mqtt/v2/hooks/auth"
"github.com/mochi-co/mqtt/v2/listeners"
"github.com/mochi-co/mqtt/v2/packets"
)
func main() {