https://github.com/rvflash/naming
Naming provides methods to parse and build compound names for variables types
https://github.com/rvflash/naming
golang naming-conventions
Last synced: 2 months ago
JSON representation
Naming provides methods to parse and build compound names for variables types
- Host: GitHub
- URL: https://github.com/rvflash/naming
- Owner: rvflash
- License: mit
- Created: 2021-04-03T22:55:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T12:32:00.000Z (over 1 year ago)
- Last Synced: 2025-01-28T16:16:29.821Z (4 months ago)
- Topics: golang, naming-conventions
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Naming conventions
[](https://godoc.org/github.com/rvflash/naming)
[](https://github.com/rvflash/naming/actions?workflow=build)
[](https://codecov.io/gh/rvflash/naming)
[](https://goreportcard.com/report/github.com/rvflash/naming)The package `naming` provides methods to parse and build compound names for variables types,
functions, classes or other structures in source code.Naming conventions bring consistency, better understanding, readability and automation.
List of supported multiple-word identifier formats:
* camelCase
* CONSTANT_CASE
* flatcase
* kebab-case
* PascalCase
* snake_case
* Train-Case
* UPPERFLATCASE### Installation
To install it, you need to install Go and set your Go workspace first.
Then, download and install it:```bash
$ go get -u github.com/rvflash/naming
```
Import it in your code:```go
import "github.com/rvflash/naming"
```### Prerequisite
`naming` uses the Go modules that required Go 1.11 or later.