You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed error's suppression in check.yaml. The suppression of rule
`errcheck` may be removed after adding errors check in all methods
with calling encodeXxx inside. See details below.
Suppressed the highlighting of error check in all methods,
having encodeXxx inside. For now these methods are not able to
return any error cause of internal implementation of writer
interface (see smallbuf.go). For future, if the implementation of writer
will be changed, and there will be a need to check errors, we must think
about how to say to compiler that the error check is 'unlikely'.
Fixed the use of time package API, all places with calls of
time.Now().Sub(). Now time package propose the explicit time.Until().
Replaced all calls of Errorf() with Fatalf() in tests. That change
prevents nil dereferences below in the code and stops test function
execution, where it is expected in tests.
Suppressed the highlighting of all unused constants and functions
Fixed calling of Fatalf from non-testing goroutine in queue tests.
It is not a valid way to stop test from another goroutine.
Fixed gofmt-highlighted places in test_helpers/pool_helper.go and
connection_pool/const.go.
Added instructions to CONTRIBUTING.md how to run CI-linter locally.
Closes#142Closes#150
0 commit comments