mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +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>
27 lines
751 B
Modula-2
27 lines
751 B
Modula-2
module github.com/mgechev/revive
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.4.0
|
|
github.com/chavacava/garif v0.1.0
|
|
github.com/fatih/color v1.17.0
|
|
github.com/fatih/structtag v1.2.0
|
|
github.com/hashicorp/go-version v1.7.0
|
|
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/spf13/afero v1.11.0
|
|
golang.org/x/tools v0.21.0
|
|
)
|
|
|
|
require (
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.9 // indirect
|
|
github.com/stretchr/testify v1.9.0 // indirect
|
|
golang.org/x/sys v0.20.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
)
|