All frameworks

Gin Project Generator.

Scaffold a ready-to-run Gin API for Go with a clean project structure, GORM ORM, SQLite database, and Goose migrations in one command. The code is yours, with no runtime dependency on TriStack.

Why Gin

Gin is the most popular Go web framework: a fast router with middleware, binding, and validation built in. This stack pairs it with GORM for data access and goose for SQL migrations.

  • REST APIs that want a familiar, well-documented framework
  • Teams that prefer an ORM over hand-written SQL
  • Projects that need lots of community middleware

Create the project

tristack my-gin-app --language go --framework gin --frontend none --orm gorm --migrations goose --database sqlite --package-manager go --addons docker air golangci-lint --git --install
Customize this stack in the builder

What's included

  • Gin app with an items CRUD example and a health check
  • GORM ORM
  • SQLite database
  • Goose migrations
  • Go modules for dependencies
  • Docker
  • Air
  • golangci-lint

Run it

cd my-gin-app
go mod tidy
go run github.com/pressly/goose/v3/cmd/goose@v3.22.1 up
air
  • GET /health
  • GET /api/v1/items
  • POST /api/v1/items

More Go frameworks