Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

var-declaration: should omit type string from declaration of var (revive) #277

Closed
atc0005 opened this issue Feb 5, 2022 · 0 comments · Fixed by #278
Closed

var-declaration: should omit type string from declaration of var (revive) #277

atc0005 opened this issue Feb 5, 2022 · 0 comments · Fixed by #278
Assignees
Labels
bug Something isn't working linting
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Feb 5, 2022

Surfaced from #276:

internal/config/config.go:38:13: var-declaration: should omit type string from declaration of var Version; it will be inferred from the right-hand side (revive)
var Version string = "x.y.z"
            ^
@atc0005 atc0005 added bug Something isn't working linting labels Feb 5, 2022
@atc0005 atc0005 added this to the Next Release milestone Feb 5, 2022
@atc0005 atc0005 self-assigned this Feb 5, 2022
atc0005 added a commit that referenced this issue Feb 5, 2022
atc0005 added a commit that referenced this issue Feb 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working linting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant