Registry / utility / charithe-durationcheck

charithe-durationcheck

JSON →
library0.0.11gogounverified

A Go linter that checks for incorrect use of time.Duration in multiplication or division.

go get github.com/charithe/durationcheck
INSTALL
IMPORT
SIG · CHARITHE-DURATIONC
C
charithe-durationcheck
utilitygov0.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

durationcheck
✓ github.com/charithe/durationcheck

Runs the durationcheck linter as a standalone tool.

package main import ( "github.com/charithe/durationcheck" "golang.org/x/tools/go/analysis/singlechecker" ) func main() { singlechecker.Main(durationcheck.Analyzer) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.11latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
charithe-durationcheck — go get charithe-durationcheck · libregistry