WENT mascot
Go-powered · Cobra-based · Production-ready

WENT. The lightweight framework for Go developers.

A clean framework for modern Go services. Build fast. Stay simple. Minimal by design. Powerful by default.

10+ Commands
3 Databases
100% Type-Safe

Everything you need.
Nothing you don't.

Built for developers who value architecture, not boilerplate.

Blazing Fast Scaffold

Generate a full REST API skeleton with a single went create command. Zero manual boilerplate.

Type-Safe Architecture

Strongly-typed request DTOs, response resources and GORM models enforced at compile time.

Layered Generator System

Fine-grained generators: gen:router, gen:model, gen:controller, gen:migration, gen:resource.

Built-in Migration Runner

No external tools. migrate, migrate:rollback and migrate:fresh built-in. SQLite, MySQL and PostgreSQL.

Auto Swagger Docs

Swagger annotations embedded in generated controllers. swag init runs automatically at project creation.

Production-Grade Stack

Chi router, GORM ORM, graceful shutdown, JWT auth middleware, CORS and pagination — all wired up.

From zero to REST API
in seconds

zsh — went CLI
01
Create a new project

One command scaffolds your entire Go project with Chi, GORM, Swagger and JWT ready to go.

02
Generate resources

Add new entities with gen:resource. Use --all for fully populated templates.

03
Run migrations

Apply, rollback or reset your database schema — no external migration tooling required.

04
Ship it

Production-ready with env-based config, graceful shutdown and full Swagger docs.

Get started in
30 seconds

macOS & Linux
# Download and run install script
curl -fsSL https://raw.githubusercontent.com/went-project/went/main/install.sh \
  -o install.sh
chmod +x install.sh
./install.sh

# Verify
went --help
Windows (PowerShell)
# Download and run install script
Invoke-WebRequest https://raw.githubusercontent.com/went-project/went/main/install.ps1 \
  -OutFile install.ps1
./install.ps1

# Verify
went --help
Install a specific version
# macOS / Linux
WENT_VERSION=v1.0526.1 ./install.sh

# Windows
$env:WENT_VERSION='v1.0526.1'; ./install.ps1
Prerequisites: Go 1.24+ · swag CLI (go install github.com/swaggo/swag/cmd/swag@latest)

Ready to dive deeper?

Full API reference, architecture guides, environment config and more — all in one place.

Read the Docs