GS
Opens language menu

Documentation

go-gin-clean-starter

A practical Go + Gin + GORM starter with JWT auth, migrations, and a modular layout you can grow into production.

Built for clarity

Every layer has a place—so newcomers learn the flow once and reuse it everywhere.

  • Modular structure

    Presentation, application, domain, and infrastructure split without heavyweight frameworks.

  • Auth & users

    Register, login, refresh rotation, and protected routes with shared JWT middleware.

  • Database ops

    Numbered migrations, rollback, status, and seed hooks from the same binary you ship.

  • CLI-first workflow

    Migrate and seed before HTTP starts—ideal for containers and CI pipelines.

Ready to dig in?

Start with Introduction and Getting started, then explore Architecture and the API modules.

Open docs home