mirror of
https://github.com/mgechev/revive.git
synced 2025-01-08 03:13:27 +02:00
4242f24f4d
* Add support for the new behaviour of for loops in go 1.22. Go 1.22 has changed the behaviour of for loops. Every iteration makes new loop variables. It is now safe to take their addresses because they are guaranteed to be unique. Similarly, it is now safe to capture loop variables in functions. * adds documentation for public function --------- Co-authored-by: chavacava <salvadorcavadini+github@gmail.com> |
||
---|---|---|
.. | ||
config.go | ||
doc.go | ||
failure.go | ||
file.go | ||
filefilter_test.go | ||
filefilter.go | ||
formatter.go | ||
linter.go | ||
package.go | ||
rule.go | ||
utils.go |