caseConvert

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SnakeCase       = CaseType("snake_case")
	CamelCase       = CaseType("camel_case")
	PascalCase      = CaseType("pascal_case")
	KebabCase       = CaseType("kebab-case")
	EnvironmentCase = CaseType("environment_case")
)

Variables

Functions

func Convert

func Convert(data string, c CaseType) (string, error)

Types

type CaseType

type CaseType string

Jump to

Keyboard shortcuts

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