Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.29 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.29 KB

Go Report Card Build Status

go-string-converters

Some little helpers to make convert go strings around

Features

Case Conversions

  • PascalCase (also called UpperCamelCase)
    • Does not convert camelCase to PascalCase
  • camelCase (also called LowerCamelCase)
    • Does not convert PascalCase to CamelCase
  • l337
    • Basic implementation, only does a handful of number-letter conversions
    • Has functions to encode and decode
  • snake_case:
    • Aggressive converter that converts any punctuation or PascalCase/camelCase to snake_case
    • Both regular (lowercase) and SCREAMING variants
  • kebab-case:
    • Aggressive converter that converts any punctuation or PascalCase/camelCase to kebab-case
    • Both regular (lowercase) and SCREAMING variants
  • z̵ͯ̐͗ͦa͓̺͂ͨͩl̷̨̜̔̿g̻̽̊͠͞o̻̠͗̇̀:
    • Encoder and decoder for Zalgo functions

String Filtering

  • Remove characters from a string by rune using helper functions.
    • Built-in support for removing control characters, because I hate them.