Registry / utility / kyoh86-exportloopref

kyoh86-exportloopref

JSON →
library0.1.11gogounverified

A Go linter that detects exporting a pointer to a loop variable, which can lead to subtle bugs.

go get github.com/kyoh86/exportloopref
INSTALL
IMPORT
SIG · KYOH86-EXPORTLOOPR
K
kyoh86-exportloopref
utilitygov0.1.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.

exportloopref
github.com/kyoh86/exportloopref

Print the name of the exportloopref analyzer.

package main import ( "fmt" "github.com/kyoh86/exportloopref" ) func main() { fmt.Println(exportloopref.Analyzer.Name()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
kyoh86-exportloopref — go get kyoh86-exportloopref · libregistry