github-vet / github-vet/bots

Handle method calls on pointer receivers

Open
#117 1 comment 0 reactions 1 assignee Claimed by @kalexmills View on GitHub
bug false-negative vet-bot
Dominant language
Go
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Another way a pointer from a range loop can be passed into a function is via a pointer receiver. Currently this is ignored, but it can also lead to issues in cases where the pointer receiver is written elsewhere in memory or used inside a goroutine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.