PitchHut logo
A powerful CLI tool to generate complete CRUD resources for Go Fiber framework in seconds ⚡
Pitch

Gogen simplifies API development for the Go Fiber framework by generating complete CRUD resources in seconds. This CLI tool eliminates repetitive boilerplate code, allowing developers to focus on building features. With customizable output configurations and no dependencies, Gogen enhances productivity while adhering to clean architecture principles.

Description

Gogen is a robust command-line interface (CLI) tool designed to streamline the development of CRUD (Create, Read, Update, Delete) APIs for the Go Fiber framework. This innovative tool reduces repetitive boilerplate code, enabling developers to generate production-ready CRUD resources within seconds. With its efficient one-command execution, Gogen creates an entire CRUD structure, including models, controllers, services, repositories, and route definitions, all tailored to best practices.

Key Features

  • Instant CRUD Structure: Generate complete resources in a single command, saving time and effort.
  • Clean Architecture: Adheres to clean architecture principles, ensuring separated concerns for maintainable code.
  • Lightning Fast Execution: Resources are generated in mere milliseconds for optimal productivity.
  • Customizable Output: Flexible settings for output directories cater to different project structures.
  • Zero Dependencies: Offers a simple installation process without complex setups.

Quick Usage

Initiate Gogen with a command to create a CRUD resource, such as:

$ gogen resource User  

This command will automatically generate the necessary files structured as follows:

users/  
├── controllers/   
│   └── users_controller.go   # HTTP handlers (GetAll, Get, Create, Update, Delete)  
├── services/      
│   └── users_service.go      # Business logic layer  
├── repositories/  
│   └── users_repository.go   # Database operations  
└── routes/        
    └── users_routes.go       # Fiber route definitions  

Gogen is positioned as an essential tool for developers seeking efficiency and best practices in Go Fiber applications. For further information and to explore the full capabilities of Gogen, visit the GitHub repository.

0 comments

No comments yet.

Sign in to be the first to comment.