https://github.com/wzshiming/namecase
Various naming styles change.
https://github.com/wzshiming/namecase
camel hump namecase snake
Last synced: about 1 year ago
JSON representation
Various naming styles change.
- Host: GitHub
- URL: https://github.com/wzshiming/namecase
- Owner: wzshiming
- License: mit
- Created: 2018-01-31T01:48:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-16T07:58:22.000Z (about 6 years ago)
- Last Synced: 2025-03-19T05:54:44.257Z (about 1 year ago)
- Topics: camel, hump, namecase, snake
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Name case
[](https://travis-ci.org/wzshiming/namecase)
[](https://goreportcard.com/report/github.com/wzshiming/namecase)
[](https://godoc.org/github.com/wzshiming/namecase)
[](https://github.com/wzshiming/namecase/blob/master/LICENSE)
[](https://gocover.io/github.com/wzshiming/namecase)
Various naming styles change.
- [English](https://github.com/wzshiming/namecase/blob/master/README.md)
- [简体中文](https://github.com/wzshiming/namecase/blob/master/README_cn.md)
## Install
``` shell
go get -u -v github.com/wzshiming/namecase
```
## Usage
| | |
| ---------------------- | --------------- |
| ToUpperSpace | all to XX YY ZZ |
| ToLowerSpace | all to xx yy zz |
| ToUpperStrike | all to XX-YY-ZZ |
| ToLowerStrike | all to xx-yy-zz |
| ToUpperSnake | all to XX_YY_ZZ |
| ToLowerSnake | all to xx_yy_zz |
| ToPascal | all to XxYyZz |
| ToCamel | all to xxYyZz |
| ToUpperHump | all to XxYyZz |
| ToLowerHump | all to xxYyZz |
| ToUpperHumpInitialisms | all to XxYyZzID |
| ToLowerHumpInitialisms | all to xxYyZzID |
[API Documentation](http://godoc.org/github.com/wzshiming/namecase)
## License
Pouch is licensed under the MIT License. See [LICENSE](https://github.com/wzshiming/namecase/blob/master/LICENSE) for the full license text.