File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This page describes checks supported by [go-critic](https://github.com/go-critic
66
77## Checkers
88
9- Total number of checks is 106 :rocket :
9+ Total number of checks is 105 :rocket :
1010
1111* :heavy_check_mark : checker is enabled by default.
1212* :white_check_mark : checker is disabled by default.
@@ -106,7 +106,6 @@ with another one that is considered more idiomatic or simple.
106106| :white_check_mark : [ stringConcatSimplify] ( #stringconcatsimplify ) | Detects string concat operations that can be simplified|
107107| :white_check_mark : [ stringsCompare] ( #stringscompare ) | Detects strings.Compare usage|
108108| :heavy_check_mark : [ switchTrue] ( #switchtrue ) | Detects switch-over-bool statements that use explicit ` true ` tag value|
109- | :white_check_mark : [ timeCmpSimplify] ( #timecmpsimplify ) | Detects Before/After call of time.Time that can be simplified|
110109| :white_check_mark : [ timeExprSimplify] ( #timeexprsimplify ) | Detects manual conversion to milli- or microseconds|
111110| :white_check_mark : [ todoCommentWithoutDetail] ( #todocommentwithoutdetail ) | Detects TODO comments without detail/assignee|
112111| :white_check_mark : [ tooManyResultsChecker] ( #toomanyresultschecker ) | Detects function with too many results|
@@ -2360,29 +2359,6 @@ v, deleted := m.LoadAndDelete(k); if deleted { f(v) }
23602359```
23612360
23622361
2363- ## timeCmpSimplify
2364-
2365- [
2366- ** style**
2367- ** experimental** ]
2368-
2369- Detects Before/After call of time.Time that can be simplified.
2370-
2371-
2372-
2373-
2374-
2375- ** Before:**
2376- ``` go
2377- !t.Before (tt)
2378- ```
2379-
2380- ** After:**
2381- ``` go
2382- t.After (tt)
2383- ```
2384-
2385-
23862362## timeExprSimplify
23872363
23882364[
You can’t perform that action at this time.
0 commit comments