Skip to content

Capitalize complete acronym if it is first segment of pascalized ident #39

@breml

Description

@breml

If the first segment of an ident is an acronym, only the first letter gets capitalized in method Pascalize.

e.g. ip_address is pascalized to IpAddress, I expected to get IPAddress.

For public types in Go, go lint complains, if e.g. ip is not capitalized to IP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions