Registry / utility / gostaticanalysis-forcetypeassert

gostaticanalysis-forcetypeassert

JSON →
library0.2.0gogounverified

A Go linter that detects forced type assertions (type assertions without the comma-ok idiom).

go get github.com/gostaticanalysis/forcetypeassert
INSTALL
IMPORT
SIG · GOSTATICANALYSIS-F
G
gostaticanalysis-forcetypeassert
utilitygov0.2.0
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.

forcetypeassert
github.com/gostaticanalysis/forcetypeassert

Run the forcetypeassert linter as a standalone tool.

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gostaticanalysis-forcetypeassert — go get gostaticanalysis-forcetypeassert · libregistry