go get -u "github/lawrsp/stringstyles"
import "github.com/lawrsp/stringstyles"
input := "the_quick_brown_fox_jumps_over_the_lazy_dog"
output := stringstyles.CamelCase(input)
// got:
// theQuickBrownFoxJumpsOverTheLazyDog
import "github.com/lawrsp/stringstyles"
input := "TheQuickBrownFoxJumpsOverTheLazyDog"
output := stringstyles.SnakeCase(input)
// got:
// the_quick_brown_fox_jumps_over_the_lazy_dog
import "github.com/lawrsp/stringstyles"
input := "TheQuickBrownFoxJumpsOverTheLazyDog"
output := stringstyles.SnakeCase(input)
// got:
// the-quick-brown-fox-jumps-over-the-lazy-dog
import "github.com/lawrsp/stringstyles"
input := "TheQuickBrownFoxJumpsOverTheLazyDog"
random := 31283726224234348
output := stringstyles.StudlyCaps(input, random)
// got:
// ThEquICkbROwNFoXJumPSOVErTHElazyDOg