Skip to content

Constants - Uppercase reported as error #83

@brianoh

Description

@brianoh

I think that the reporting on constants may be incorrect. GoReporter states that uppercase is incorrect, however that is not the case for constants. viz:

GoReporter: "don't use ALL_CAPS in Go names; use CamelCase"

https://www.golangprograms.com/go-language/constants.html

Naming Conventions for Golang Constants
By convention, constant names are usually written in uppercase letters. This is for their easy identification and differentiation from variables in the source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions