strcase

package
v0.0.0-...-4158bf4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCamel

func ToCamel(s string, c ...CamelContext) (r string)

func ToSnake

func ToSnake(s string) string

Types

type CamelContext

type CamelContext interface {
	UseCaps(a []string) CamelContext
	HasCaps(w string) bool
	Find(s string) (string, bool)
	Save(s, r string)
}

func NewCamelContext

func NewCamelContext(caps []string) CamelContext

Jump to

Keyboard shortcuts

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