strcase

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This package was copied from https://github.com/golang-cz/textcase

This package was copied from https://github.com/golang-cz/textcase

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCamel

func IsCamel(input string) bool

func IsPascal

func IsPascal(input string) bool

func IsSnake

func IsSnake(input string) bool

func ToCamel

func ToCamel(input string) string

Converts input string to "camelCase" (lower camel case) naming convention. Removes all whitespace and special characters. Supports Unicode characters.

func ToPascal

func ToPascal(input string) string

Converts input string to "PascalCase" (upper camel case) naming convention. Removes all whitespace and special characters. Supports Unicode characters.

func ToSnake

func ToSnake(input string) string

Converts input string to "snake_case" naming convention. Removes all whitespace and special characters. Supports Unicode characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL