lex

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase

func CamelCase(s string) string

CamelCase converts to camel case ("foo_bar" -> "fooBar").

func Capital

func Capital(s string) string

Capital capitalizes the given string ("foo" -> "Foo").

func Minuscule

func Minuscule(s string) string

Minuscule turns the first character to lower case ("Foo" -> "foo") or the whole word if it is all uppercase ("UUID" -> "uuid").

func PascalCase

func PascalCase(s string) string

PascalCase converts to pascal case ("foo_bar" -> "FooBar").

func SnakeCase

func SnakeCase(name string) string

SnakeCase converts to snake case ("FooBar" -> "foo_bar").

Types

This section is empty.

Jump to

Keyboard shortcuts

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