strings

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package strings extends the strings package in the stdlib.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCamel added in v0.0.4

func ToCamel(s string) string

ToCamel converts a string (snake, spinal or Train) to CamelCase.

func ToSnake

func ToSnake(s string) string

ToSnake converts a string (camel, spinal or Train) to snake_case.

func ToSpinal added in v0.0.4

func ToSpinal(s string) string

ToSpinal converts a string (camel, snake or Train) to spinal-case.

See https://en.wikipedia.org/wiki/Letter_case#Special_case_styles

func ToTrain added in v0.0.4

func ToTrain(s string) string

ToTrain converts a string (camel, snake or spinal) to Train-Case.

See https://en.wikipedia.org/wiki/Letter_case#Special_case_styles

Types

This section is empty.

Jump to

Keyboard shortcuts

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