Add AsyncTransaction #326
Add AsyncTransaction #326
golangci-lint found 6 issues related to your changes
This is the detailed log.
If you have any questions about this comment, feel free to raise an issue here.
Annotations
Check warning on line 58 in session_test.go
qiniu-x / golangci-lint
session_test.go#L58
Error return value of `cli.DropDatabase` is not checked (errcheck)
Check warning on line 84 in session_test.go
qiniu-x / golangci-lint
session_test.go#L84
Error return value of `(github.com/qiniu/qmgo.QueryI).One` is not checked (errcheck)
Check warning on line 87 in session_test.go
qiniu-x / golangci-lint
session_test.go#L87
Error return value of `(github.com/qiniu/qmgo.QueryI).One` is not checked (errcheck)
Check warning on line 107 in session_test.go
qiniu-x / golangci-lint
session_test.go#L107
Error return value of `session.AbortAsyncTransaction` is not checked (errcheck)
Check warning on line 85 in session_test.go
qiniu-x / golangci-lint
session_test.go#L85
expected-actual: need to reverse actual and expected values (testifylint)
Check warning on line 322 in client.go
qiniu-x / golangci-lint
client.go#L322
Function `transactionAllowed->ServerVersion` should pass the context parameter (contextcheck)