Skip to content

fiwon123/goformatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 About

A formatter CLI tool using go language

✨ Features

Simple CLI interface.

📦 Installation

go install

🛠 Usage

Use this following command to formmat any file available in the package:

goformatter -f

Use this command to list all availables parameters:

goformatter --help

📁 Project Structure

goformatter/
├── cmd/                
│   └── root.go           
├── internal/                      
|   ├── goformatter/
│   ├── testdata/
│   ├── baseFormatter.go
│   ├── registry.go
│   ├── goformatter_test.go
│   ├── formatter.go
│   ├── jsonFormatter.go
│   ├── tomlFormatter.go
│   ├── yamlFormatter.go
│   ├── logger/
│   │   └── logger.go
│   └── utils/
│       └── utils.go
├── main.go                 # entry point
├── go.mod                  
├── go.sum
├── LICENSE     
└── README.md
```text

## 🧪 Running Tests
```bash
go test

🧾 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A formatter CLI tool using go language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages