add time window package #910
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
7 errors
statics:
pkg/window/policy.go#L104
assignOp: replace `offset = offset - r.size` with `offset -= r.size` (gocritic)
|
statics:
pkg/window/reduce.go#L40
assignOp: replace `count = count + 1` with `count++` (gocritic)
|
statics:
pkg/window/reduce.go#L26
assignOp: replace `result = result + p` with `result += p` (gocritic)
|
statics:
pkg/window/reduce.go#L39
assignOp: replace `result = result + p` with `result += p` (gocritic)
|
statics:
pkg/window/counter_test.go#L80
assignOp: replace `x = x + 1` with `x++` (gocritic)
|
statics:
pkg/window/policy_test.go#L61
ST1003: var totalTs should be totalTS (stylecheck)
|
statics
Process completed with exit code 2.
|