(SCC-ST1011) Poorly chosen name for variable of type time.Duration
johnsonjh opened this issue · comments
Jeffrey H. Johnson commented
Description
time.Duration
values represent an amount of time, which is represented as a count of nanoseconds. An expression like 5 * time.Microsecond
yields the value 5000. It is therefore not appropriate to suffix a variable of type time.Duration
with any time unit, such as Msec
or Milli
.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/johnsonjh/jleveldb/issue/SCC-ST1011/occurrences/
Repo Ranger commented