https://github.com/devimteam/go-case
Package to convert names, titles and sequences to snake_case, CamelCase and some other.
https://github.com/devimteam/go-case
Last synced: 5 months ago
JSON representation
Package to convert names, titles and sequences to snake_case, CamelCase and some other.
- Host: GitHub
- URL: https://github.com/devimteam/go-case
- Owner: devimteam
- License: mit
- Fork: true (vetcher/go-case)
- Created: 2018-06-15T12:37:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T12:00:21.000Z (about 8 years ago)
- Last Synced: 2025-08-14T15:39:38.233Z (10 months ago)
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-case
Package to convert names, titles and sequences to snake_case, CamelCase and some other.
```go
import (
"fmt"
"github.com/vetcher/go-case"
)
func main() {
s := "some string to convert"
fmt.Println(go_case.ToCamelCase(s))
// Output:
// SomeStringToConvert
}
```