Fix goroutine leaking #270
Annotations
10 errors and 11 warnings
golangci-lint:
mongo/contract.go#L1
: # github.com/avito-tech/go-transaction-manager/mongo [github.com/avito-tech/go-transaction-manager/mongo.test]
|
golangci-lint:
mongo/factory.go#L14
cannot use NewTransaction(ctx, s.SessionOpts(), s.TransactionOpts(), client) (value of type *Transaction) as trm.Transaction value in return statement: *Transaction does not implement trm.Transaction (missing method Closed) (typecheck)
|
golangci-lint:
pgxv4/context.go#L1
: # github.com/avito-tech/go-transaction-manager/pgxv4 [github.com/avito-tech/go-transaction-manager/pgxv4.test]
|
golangci-lint:
pgxv4/factory.go#L22
cannot use NewTransaction(ctx, s.TxOpts(), db) (value of type *Transaction) as trm.Transaction value in return statement: *Transaction does not implement trm.Transaction (missing method Closed)
|
golangci-lint:
pgxv4/transaction.go#L69
cannot use tr (variable of type *Transaction) as trm.Transaction value in return statement: *Transaction does not implement trm.Transaction (missing method Closed) (typecheck)
|
golangci-lint:
pgxv5/context.go#L1
: # github.com/avito-tech/go-transaction-manager/pgxv5 [github.com/avito-tech/go-transaction-manager/pgxv5.test]
|
golangci-lint:
pgxv5/factory.go#L22
cannot use NewTransaction(ctx, s.TxOpts(), db) (value of type *Transaction) as trm.Transaction value in return statement: *Transaction does not implement trm.Transaction (missing method Closed)
|
golangci-lint:
pgxv5/transaction.go#L69
cannot use tr (variable of type *Transaction) as trm.Transaction value in return statement: *Transaction does not implement trm.Transaction (missing method Closed) (typecheck)
|
golangci-lint:
trm/manager/chain.go#L1
: # github.com/avito-tech/go-transaction-manager/trm/manager [github.com/avito-tech/go-transaction-manager/trm/manager.test]
|
golangci-lint:
trm/manager/manager_test.go#L63
cannot use tx (variable of type *"github.com/avito-tech/go-transaction-manager/trm/mock".MockTransaction) as trm.Transaction value in return statement: *"github.com/avito-tech/go-transaction-manager/trm/mock".MockTransaction does not implement trm.Transaction (missing method Closed)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
internal/test/sql.go#L11
exported: exported function NewDBMock should have comment or be unexported (revive)
|
golangci-lint:
internal/test/sql.go#L17
exported: exported function NewDBMockWithClose should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
trm/drivers/transaction.go#L11
exported: exported type IsClose should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L20
exported: exported function NewIsClosed should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L29
exported: exported method IsClose.IsActive should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L33
exported: exported method IsClose.IsClosed should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L40
exported: comment on exported method IsClose.Closed should be of the form "Closed ..." (revive)
|
golangci-lint:
trm/drivers/transaction.go#L46
exported: exported method IsClose.Close should have comment or be unexported (revive)
|
golangci-lint:
trm/drivers/transaction.go#L50
exported: exported method IsClose.CloseWithCause should have comment or be unexported (revive)
|
The logs for this run have expired and are no longer available.
Loading