Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 297 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 297 Bytes

go-case

Package to convert names, titles and sequences to snake_case, CamelCase and some other.

import (
    "fmt"

    "github.com/vetcher/go-case"
)

func main() {
    s := "some string to convert"
    fmt.Println(go_case.ToCamelCase(s))

    // Output:
    // SomeStringToConvert
}