Skip to content

stanislav-zeman/cipolla

Repository files navigation

Go Report Card Go version CI status Coverage Status

Cipolla

The idea of this project is to have a tool that generates project structure following the Onion/Hexagonal/Ports & Adapters architecture principles.

The tool is configured using YAML config that is then parsed and templated. The goal is not to create a completely functional project but to generate most of the boilerplate code and files that you then can go and easily edit.

Apart from generating things like Domain objects, Application services, API controllers etc., the tool can also bootstrap project files like Makefile, GolangCI linter configuration, gitignore etc.

Usage

cipolla --templates ./cipolla/assets --config ./cipolla/config/example.yaml --out my-project

The project provides example configuration and showcases the generated code in the example directory.

To view the example project directory structure checkout the generated project structure file.

About

Opinionated Onion architecture Go project generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors