package
0.0.0-20210109214533-c7609e90cd61
Repository: https://github.com/github-vet/bots.git
Documentation: pkg.go.dev
# Constants
ReasonCallMaybeAsync indicates some function call taking a reference to a range loop variable may start a Goroutine.
ReasonCallMayWritePtr indicates some function call may store a reference to a range loop variable.
ReasonCallPassesToThirdParty indicates some function call passes a pointer to third-party code.
ReasonNone indicates nothing is being reported.
ReasonPointerReassigned indicates a reference to a range loop variable was reassigned.
ReasonPointerStoredInCompositeLit indicates a pointer to a range-loop variable was used in a composite literal.
# Variables
Analyzer checks for pointers to enclosing loop variables; modified for sweeping GitHub.
# Structs
Searcher stores the set of range loops found in the source code, keyed by its position in the repository.
# Type aliases
Reason describes why an instance is being reported.