Skip to content

exportloopref for Go <1.22 projects #5461

Answered by ldez
ianlewis asked this question in Q&A
Discussion options

You must be logged in to vote

An alternative solution is to use plugins: https://golangci-lint.run/plugins/module-plugins/

But you will have to use another name than exportloopref when you register the plugin.

I strongly recommend updating your Go version.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@ianlewis
Comment options

ianlewis Feb 22, 2025
Author Sponsor

@ldez
Comment options

ldez Feb 22, 2025
Maintainer

Answer selected by ianlewis
@ldez
Comment options

ldez Feb 22, 2025
Maintainer

@ianlewis
Comment options

ianlewis Feb 22, 2025
Author Sponsor

@ianlewis
Comment options

ianlewis Feb 22, 2025
Author Sponsor

@ianlewis
Comment options

ianlewis Feb 22, 2025
Author Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5461 on February 22, 2025 03:45.