From 18f8a94f4eed711e21d8e03dde179848cf87e20b Mon Sep 17 00:00:00 2001 From: maranqz Date: Sat, 3 Aug 2024 20:35:35 +0400 Subject: [PATCH] 1. Update dependency --- .golangci.yml | 1 - drivers/goredis8/go.mod | 3 ++- drivers/goredis8/go.sum | 6 ++++-- drivers/gorm/go.mod | 3 ++- drivers/gorm/go.sum | 6 ++++-- drivers/mongo/go.mod | 5 +++-- drivers/mongo/go.sum | 8 ++++++-- drivers/pgxv4/go.mod | 3 ++- drivers/pgxv4/go.sum | 6 ++++-- drivers/pgxv5/go.mod | 3 ++- drivers/pgxv5/go.sum | 6 ++++-- drivers/sql/go.mod | 4 ++-- drivers/sql/go.sum | 4 ++-- drivers/sqlx/go.mod | 5 +++-- drivers/sqlx/go.sum | 8 ++++++-- go.work.sum | 1 + trm/go.mod | 2 +- trm/go.sum | 2 ++ 18 files changed, 50 insertions(+), 26 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 6a123b5..e1dcaf3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -62,7 +62,6 @@ linters-settings: issues: exclude-dirs: - - trm/mock - trm/manager/mock - sql/mock exclude-use-default: false diff --git a/drivers/goredis8/go.mod b/drivers/goredis8/go.mod index eefbd2e..e947292 100644 --- a/drivers/goredis8/go.mod +++ b/drivers/goredis8/go.mod @@ -3,9 +3,10 @@ module github.com/avito-tech/go-transaction-manager/drivers/goredis8/v2 go 1.14 require ( - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/go-redis/redis/v8 v8.11.5 github.com/go-redis/redismock/v8 v8.11.5 github.com/stretchr/testify v1.8.2 + go.uber.org/goleak v1.3.0 golang.org/x/net v0.17.0 // indirect ) diff --git a/drivers/goredis8/go.sum b/drivers/goredis8/go.sum index f8ba5b5..661ab82 100644 --- a/drivers/goredis8/go.sum +++ b/drivers/goredis8/go.sum @@ -2,8 +2,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= @@ -95,6 +95,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/drivers/gorm/go.mod b/drivers/gorm/go.mod index 27d6879..edf1d90 100644 --- a/drivers/gorm/go.mod +++ b/drivers/gorm/go.mod @@ -4,9 +4,10 @@ go 1.18 require ( github.com/DATA-DOG/go-sqlmock v1.5.1 - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/mattn/go-sqlite3 v1.14.18 github.com/stretchr/testify v1.8.2 + go.uber.org/goleak v1.3.0 gorm.io/driver/mysql v1.5.2 gorm.io/driver/sqlite v1.5.4 gorm.io/gorm v1.25.5 diff --git a/drivers/gorm/go.sum b/drivers/gorm/go.sum index fbee6d4..e11867e 100644 --- a/drivers/gorm/go.sum +++ b/drivers/gorm/go.sum @@ -3,8 +3,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -52,6 +52,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/drivers/mongo/go.mod b/drivers/mongo/go.mod index 7e4ff18..0096e10 100644 --- a/drivers/mongo/go.mod +++ b/drivers/mongo/go.mod @@ -3,11 +3,12 @@ module github.com/avito-tech/go-transaction-manager/drivers/mongo/v2 go 1.13 require ( - github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6 - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/google/go-cmp v0.5.5 // indirect github.com/mattn/go-sqlite3 v1.14.18 github.com/stretchr/testify v1.8.2 go.mongodb.org/mongo-driver v1.13.1 + go.uber.org/goleak v1.3.0 golang.org/x/crypto v0.17.0 // indirect ) diff --git a/drivers/mongo/go.sum b/drivers/mongo/go.sum index 33f1533..22d191c 100644 --- a/drivers/mongo/go.sum +++ b/drivers/mongo/go.sum @@ -1,11 +1,13 @@ github.com/DATA-DOG/go-sqlmock v1.5.1 h1:FK6RCIUSfmbnI/imIICmboyQBkOckutaa6R5YYlLZyo= github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU= -github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6 h1:aLd6YRH0sAW5ev/Y4EZ6e1s9ZvhAJEoWZNvDTt9760E= github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= +github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9 h1:TIcnwSLHpUT/USqsGtPQnGWui6VqukkmsoNadOuJ0bY= +github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9/go.mod h1:z+OU3T2cEEogRkrGqpbN8teOYasVzNuAJuUcM+T2JIM= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -67,6 +69,8 @@ go.mongodb.org/mongo-driver v1.13.1 h1:YIc7HTYsKndGK4RFzJ3covLz1byri52x0IoMB0Pt/ go.mongodb.org/mongo-driver v1.13.1/go.mod h1:wcDf1JBCXy2mOW0bWHwO/IOYqdca1MPCwDtFu/Z9+eo= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/drivers/pgxv4/go.mod b/drivers/pgxv4/go.mod index e38edc7..589777d 100644 --- a/drivers/pgxv4/go.mod +++ b/drivers/pgxv4/go.mod @@ -3,10 +3,11 @@ module github.com/avito-tech/go-transaction-manager/drivers/pgxv4/v2 go 1.16 require ( - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/jackc/pgconn v1.14.1 github.com/jackc/pgx/v4 v4.18.1 github.com/pashagolub/pgxmock v1.8.0 github.com/stretchr/testify v1.8.2 + go.uber.org/goleak v1.3.0 golang.org/x/crypto v0.17.0 // indirect ) diff --git a/drivers/pgxv4/go.sum b/drivers/pgxv4/go.sum index 5eb4149..c8ba071 100644 --- a/drivers/pgxv4/go.sum +++ b/drivers/pgxv4/go.sum @@ -4,8 +4,8 @@ github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0 github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= @@ -154,6 +154,8 @@ go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= diff --git a/drivers/pgxv5/go.mod b/drivers/pgxv5/go.mod index b7fb8fe..28a2f96 100644 --- a/drivers/pgxv5/go.mod +++ b/drivers/pgxv5/go.mod @@ -3,10 +3,11 @@ module github.com/avito-tech/go-transaction-manager/drivers/pgxv5/v2 go 1.19 require ( - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/jackc/pgx/v5 v5.5.1 github.com/pashagolub/pgxmock/v2 v2.12.0 github.com/stretchr/testify v1.8.2 + go.uber.org/goleak v1.3.0 ) require ( diff --git a/drivers/pgxv5/go.sum b/drivers/pgxv5/go.sum index 1113ee3..a7a3e6c 100644 --- a/drivers/pgxv5/go.sum +++ b/drivers/pgxv5/go.sum @@ -2,8 +2,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -55,6 +55,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/drivers/sql/go.mod b/drivers/sql/go.mod index fe294be..a5c69a4 100644 --- a/drivers/sql/go.mod +++ b/drivers/sql/go.mod @@ -4,11 +4,11 @@ go 1.13 require ( github.com/DATA-DOG/go-sqlmock v1.5.1 - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/golang/mock v1.6.0 github.com/mattn/go-sqlite3 v1.14.18 github.com/stretchr/testify v1.8.2 - go.uber.org/goleak v1.3.0 // indirect + go.uber.org/goleak v1.3.0 go.uber.org/multierr v1.9.0 ) diff --git a/drivers/sql/go.sum b/drivers/sql/go.sum index fee5e87..95f23a0 100644 --- a/drivers/sql/go.sum +++ b/drivers/sql/go.sum @@ -3,8 +3,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= diff --git a/drivers/sqlx/go.mod b/drivers/sqlx/go.mod index a0a6dcb..86bffb6 100644 --- a/drivers/sqlx/go.mod +++ b/drivers/sqlx/go.mod @@ -4,10 +4,11 @@ go 1.13 require ( github.com/DATA-DOG/go-sqlmock v1.5.1 - github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6 - github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 + github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9 + github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 github.com/jmoiron/sqlx v1.3.5 github.com/mattn/go-sqlite3 v1.14.18 github.com/stretchr/testify v1.8.2 + go.uber.org/goleak v1.3.0 go.uber.org/multierr v1.9.0 ) diff --git a/drivers/sqlx/go.sum b/drivers/sqlx/go.sum index 678eaa9..654a1fa 100644 --- a/drivers/sqlx/go.sum +++ b/drivers/sqlx/go.sum @@ -1,11 +1,13 @@ github.com/DATA-DOG/go-sqlmock v1.5.1 h1:FK6RCIUSfmbnI/imIICmboyQBkOckutaa6R5YYlLZyo= github.com/DATA-DOG/go-sqlmock v1.5.1/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU= -github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6 h1:aLd6YRH0sAW5ev/Y4EZ6e1s9ZvhAJEoWZNvDTt9760E= github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= +github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9 h1:TIcnwSLHpUT/USqsGtPQnGWui6VqukkmsoNadOuJ0bY= +github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc9/go.mod h1:z+OU3T2cEEogRkrGqpbN8teOYasVzNuAJuUcM+T2JIM= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= -github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8 h1:lFx+q6V4fJZTyK9+qbQv3k5Bd0mQB2/ZOMaop95KhLg= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9 h1:30yJLAEPWrAjLFqXNZcrdIeWMMHaY9ASkvLZUmsG4/k= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc9/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -51,6 +53,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/go.work.sum b/go.work.sum index 436d6ba..f1bf9b7 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,5 +1,6 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= +github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc9/go.mod h1:kGOS5JhSVEw4zh/PNZhZmEZO2rV216llli5RRhpW+Us= github.com/chzyer/logex v1.1.10 h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8= diff --git a/trm/go.mod b/trm/go.mod index e6329ca..efb700c 100644 --- a/trm/go.mod +++ b/trm/go.mod @@ -4,7 +4,7 @@ go 1.13 require ( github.com/DATA-DOG/go-sqlmock v1.5.1 - github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6 + github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc9 github.com/go-sql-driver/mysql v1.7.0 // indirect github.com/golang/mock v1.6.0 github.com/jinzhu/copier v0.4.0 diff --git a/trm/go.sum b/trm/go.sum index cd62230..5e7306a 100644 --- a/trm/go.sum +++ b/trm/go.sum @@ -4,7 +4,9 @@ github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6 h1:aLd6YR github.com/avito-tech/go-transaction-manager/drivers/sql/v2 v2.0.0-rc6/go.mod h1:00Cif8xUIQfAtpQ5cuPt9T9dDNJ9bGcY9ev/JpcR0tc= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6 h1:EaGR/tdyQ/hZHvg2gseCkYwiMFlSg3um4PXS16ZDRjE= github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc6/go.mod h1:WkB+h0Fx4qiLAgeFw1xLc1gGwqhOdtndUUmHC6Cww/M= +github.com/avito-tech/go-transaction-manager/drivers/sqlx/v2 v2.0.0-rc9/go.mod h1:kGOS5JhSVEw4zh/PNZhZmEZO2rV216llli5RRhpW+Us= github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc6/go.mod h1:efBmVaj9GiucjXsVk7rIwgWXsfoS+1XJqLF9g4TKKZE= +github.com/avito-tech/go-transaction-manager/trm/v2 v2.0.0-rc8/go.mod h1:70UhdxnEKj+no0/bTVxsAZ7scTb2+2DagtZu5OZ6bRg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=