Skip to content

Commit 1e0c0ca

Browse files
committed
refactor log/table and upload with off gocognit linter
1 parent 14394d5 commit 1e0c0ca

File tree

2 files changed

+210
-50
lines changed

2 files changed

+210
-50
lines changed

CHANGELOG.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
* Refactored `internal/topic/topicwriterinternal/queue_test.go` and extract funcs
2-
* Refactored `log/driver.go` and extract funcs
3-
* Refactored `internal/table/scanner/scanner.go` and extract funcs
4-
* Refactored `log/topic.go` and extract funcs
5-
* Refactored `internal/table/scanner/scanner_test.go` and extract funcs
6-
* Refactored `log/sql.go` and extract funcs
7-
* Refactored `metrics/driver.go` and extract funcs
8-
* Refactored `metrics/sql.go` and extract funcs
9-
* Refactored `internal/table/retry_test.go` and extract func `retry_test.checkResultsRetryWithCustomErrors`
10-
* Refactored `internal/table/client.go` and extract func `client.onCloseSession`
11-
* Refactored `internal/decimal/decimal.go` and extract func `decimal.dotStringAnalysis`
12-
* Refactored `internal/backoff/backoff_test.go` and extract func `backoff_test.checkExpWithAct` for compare
13-
* Refactored `internal/xsql/dsn.go` and extract func `dsn.bindTablePathPrefixInConnectorOptions`
14-
* Refactored `sugar/path.go` and extract funcs `path.removeWithPrefix`, `path.removeEntry`
15-
* Refactored `internal/stack/record.go` and extract func `record.findFileNameAndPkgPath`
1+
* Refactored `log/table.go` and extract funcs for gocognit linter
2+
* Refactored `internal/topic/topicwriterinternal/queue_test.go` and extract funcs for gocognit linter
3+
* Refactored `log/driver.go` and extract funcs for gocognit linter
4+
* Refactored `internal/table/scanner/scanner.go` and extract funcs for gocognit linter
5+
* Refactored `log/topic.go` and extract funcs for gocognit linter
6+
* Refactored `internal/table/scanner/scanner_test.go` and extract funcs for gocognit linter
7+
* Refactored `log/sql.go` and extract funcs for gocognit linter
8+
* Refactored `metrics/driver.go` and extract funcs for gocognit linter
9+
* Refactored `metrics/sql.go` and extract funcs for gocognit linter
10+
* Refactored `internal/table/retry_test.go` and extract func `retry_test.checkResultsRetryWithCustomErrors` for gocognit linter
11+
* Refactored `internal/table/client.go` and extract func `client.onCloseSession` for gocognit linter
12+
* Refactored `internal/decimal/decimal.go` and extract func `decimal.dotStringAnalysis` for gocognit linter
13+
* Refactored `internal/backoff/backoff_test.go` and extract func `backoff_test.checkExpWithAct` for gocognit linter
14+
* Refactored `internal/xsql/dsn.go` and extract func `dsn.bindTablePathPrefixInConnectorOptions` for gocognit linter
15+
* Refactored `sugar/path.go` and extract funcs `path.removeWithPrefix`, `path.removeEntry` for gocognit linter
16+
* Refactored `internal/stack/record.go` and extract func `record.findFileNameAndPkgPath` for gocognit linter
1617
* Fixed topic writer infinite reconnections in some cases
1718
* Refactored nil on err `internal/grpcwrapper/rawydb/issues.go`, when golangci-lint nilerr enabled
1819
* Refactored nil on err `internal/grpcwrapper/rawtopic/describe_topic.go`, when golangci-lint nilerr enabled

0 commit comments

Comments
 (0)