Skip to content

Common initialisms in kace.Snake #6

@vmihailenco

Description

@vmihailenco

Hi,

Thanks for sharing this package. Do you think it is possible to support common initialisms in kace.Snake as well? For example:

fmt.Println(kace.Pascal("http url"), kace.Snake(kace.Pascal("http url")))
// HTTPURL httpurl

The expected output is HTTPURL http_url. This is needed for generating SQL column names from Go field names.

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