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

https://github.com/kaatinga/ccase

rename your .go files following Golang naming convention
https://github.com/kaatinga/ccase

cli golang naming-conventions

Last synced: 5 months ago
JSON representation

rename your .go files following Golang naming convention

Awesome Lists containing this project

README

          

[![tests and linter](https://github.com/kaatinga/ccase/actions/workflows/golang_ci.yml/badge.svg)](https://github.com/kaatinga/ccase/actions/workflows/golang_ci.yml)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/kaatinga/ccase/blob/main/LICENSE)
[![Help wanted](https://img.shields.io/badge/Help%20wanted-True-yellow.svg)](https://github.com/kaatinga/ccase/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)

# ccase

ccase is a command line tool which helps to convert ".go" file names to a name that follows the conventions of the Go
programming language.

## Installation

```bash
go install github.com/kaatinga/ccase@latest
```

## Usage

To get help run:

```bash
ccase -h
```

To rename files in the pkg/service folder run:

```bash
ccase --path pkg/service
```

or just:

```bash
ccase
```

in the folder you want to rename files.

Note that all the subfolders will be processed recursively.