caseconv

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 1 Imported by: 0

README

Documentation

Overview

Package caseconv provides utility function to convert strings into different casings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCamelCase

func ToCamelCase(s string) string

ToCamelCase returns a copy of the input string that is set to camelCase.

func ToConstantCase

func ToConstantCase(s string) string

ToConstantCase returns a copy of the input string that is set to CONSTANT_CASE.

func ToKebabCase

func ToKebabCase(s string) string

ToKebabCase returns a copy of the input string that is set to kebab-case.

func ToPascalCase

func ToPascalCase(s string) string

ToPascalCase returns a copy of the input string that is set to PascalCase.

func ToSnakeCase

func ToSnakeCase(s string) string

ToSnakeCase returns a copy of the input string that is set to snake_case.

func ToStartCase

func ToStartCase(s string) string

ToStartCase returns a copy of the input string that is set to Start Case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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