Skip to content

About

Start clean. Build faster. Ship better.

goclean is a command-line tool that scaffolds structured, maintainable Go backend applications using Clean Architecture. This site is its documentation, packaged as a desktop-friendly web app.

Language
Go
Architecture
Clean
License
MIT
Version
v1.1.1

Why goclean

Every Go service starts with the same decisions.

Where do handlers live? How do repositories get injected? Where does configuration go? goclean answers these once, consistently, so you spend your time on the product instead of the plumbing.

  • Structure first

    Folder layout and dependency direction are decided on day one, so the codebase stays readable as it grows.

  • Sensible defaults

    Gin or Chi, PostgreSQL, MySQL or SQLite, GORM, Viper and Zerolog come pre-wired. Swap them without fighting the layout.

  • Less boilerplate

    One command generates an entity, DTOs, repository, usecase, handler, migration and routes.

  • Open and permissive

    goclean is MIT licensed. Read it, fork it, and send improvements back.

Open source

Built in the open.

goclean is developed on GitHub. Issues, ideas and pull requests are welcome.