Skip to content

Add "numtostr" linter #3479

Closed as not planned
Closed as not planned
@leonklingele

Description

@leonklingele

Your feature request related to a problem? Please describe.

The numtostr linter find wrong usage of fmt.Sprint to parse numbers. Instead, strconv.Itoa should be used.

https://github.com/gostaticanalysis/numtostr

Describe the solution you'd like.

Describe alternatives you've considered.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvementlinter: newSupport new linterno decisionNo decision to fix or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions