An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Name case

[![Build Status](https://travis-ci.org/wzshiming/namecase.svg?branch=master)](https://travis-ci.org/wzshiming/namecase)
[![Go Report Card](https://goreportcard.com/badge/github.com/wzshiming/namecase)](https://goreportcard.com/report/github.com/wzshiming/namecase)
[![GoDoc](https://godoc.org/github.com/wzshiming/namecase?status.svg)](https://godoc.org/github.com/wzshiming/namecase)
[![GitHub license](https://img.shields.io/github/license/wzshiming/namecase.svg)](https://github.com/wzshiming/namecase/blob/master/LICENSE)
[![gocover.io](https://gocover.io/_badge/github.com/wzshiming/namecase)](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.