mod tidy, fix lint

This commit is contained in:
Łukasz Magiera 2022-12-09 10:03:20 +01:00
parent f0bf3408bc
commit 4854bef927
2 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ import (
"time" "time"
logging "github.com/ipfs/go-log/v2" logging "github.com/ipfs/go-log/v2"
"github.com/libp2p/go-libp2p-core/peer"
pubsub "github.com/libp2p/go-libp2p-pubsub" pubsub "github.com/libp2p/go-libp2p-pubsub"
pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb" pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb"
"github.com/libp2p/go-libp2p/core/peer"
) )
var log = logging.Logger("lotus-tracer") var log = logging.Logger("lotus-tracer")

View File

@ -4,9 +4,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/libp2p/go-libp2p-core/peer"
pubsub "github.com/libp2p/go-libp2p-pubsub" pubsub "github.com/libp2p/go-libp2p-pubsub"
pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb" pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb"
"github.com/libp2p/go-libp2p/core/peer"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )