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

https://github.com/gnomedevreact/mrn

mrn is a lightweight and flexible CLI tool for Go developers that helps scaffold basic folder structures and boilerplate files for new feature modules.
https://github.com/gnomedevreact/mrn

cli files golang structure

Last synced: about 2 months ago
JSON representation

mrn is a lightweight and flexible CLI tool for Go developers that helps scaffold basic folder structures and boilerplate files for new feature modules.

Awesome Lists containing this project

README

          

# mrn

`mrn` is a lightweight and flexible CLI tool for Go developers that helps scaffold basic folder structures and boilerplate files for new feature modules.

## Features

- ๐Ÿ›  Auto-generates a new folder with:
- `handlers.go`
- `models.go`
- `services.go`
- ๐Ÿ” Simple and repeatable CLI usage
- ๐Ÿงผ Clean and idiomatic file templates
- ๐Ÿงฑ Helps keep your project modular and consistent

## Installation

```bash
go install github.com/gnomedevreact/mrn@latest
```

# Usage

```bash
mrn
```

# Example
```
mrn users ./api
```
This will create:

```
./api/users/
โ”œโ”€โ”€ handlers.go
โ”œโ”€โ”€ models.go
โ””โ”€โ”€ services.go
```