diff --git a/drivers/mongo/context.go b/drivers/mongo/context.go index 1c8879b..adf7cff 100644 --- a/drivers/mongo/context.go +++ b/drivers/mongo/context.go @@ -2,6 +2,7 @@ package mongo import ( "context" + "go.mongodb.org/mongo-driver/mongo" "github.com/avito-tech/go-transaction-manager/trm/v2" diff --git a/drivers/mongo/context_test.go b/drivers/mongo/context_test.go index 334c16b..1785455 100644 --- a/drivers/mongo/context_test.go +++ b/drivers/mongo/context_test.go @@ -2,11 +2,12 @@ package mongo import ( "context" + "testing" + "github.com/avito-tech/go-transaction-manager/trm/v2/manager" "github.com/avito-tech/go-transaction-manager/trm/v2/settings" "github.com/stretchr/testify/require" "go.mongodb.org/mongo-driver/mongo/integration/mtest" - "testing" ) func TestContext(t *testing.T) {