Go Boilerplates

Go starters here are backends and CLIs rather than full products — the language's appeal in this catalogue is a single deployable binary and a small runtime, not a batteries-included admin panel.

What is in this list

8 entries carry a Go tag in this directory — 8 open-source and 0 paid. They are grouped here by the technology they are built on; the same kits also appear under what they are built for:

Order is open-source first, then alphabetical. Nothing on this page is ranked, scored or paid for — see how this directory is built.

The fastest way to deploy a RESTful API with Gin Framework — PostgreSQL, JWT auth, Redis, PDF generation, and Swagger docs out of the box. The fastest way to deploy a RESTful API with Gin Framework — structured with PostgreSQL, JWT authentication stored in Redis, and ready to build on. 1 216 stars · MIT licence · last commit 2026-06-03.

boilerplate-templatedatabasesgin-boilerplategin-framework

CLI for spinning up Go projects with popular layouts — pick your HTTP framework (chi, gin, echo, fiber), database driver, and optional extras like HTMX or Docker, and get a consistent, idiomatic project structure. Open-source (MIT).

gochigincli

Clean Architecture template for Golang services. All domains are available across all four transports (REST, gRPC, AMQP RPC, NATS RPC). 7 647 stars · MIT licence · last commit 2026-08-10.

clean-architecturedependency-injectionexamplego

A boilerplate for building RESTful APIs using Golang, Fiber, and GORM PostgreSQL. A boilerplate/starter project for quickly building RESTful APIs using Go, Fiber, and PostgreSQL. Inspired by the Express boilerplate. 221 stars · MIT licence · last commit 2025-12-13.

boilerplateboilerplate-applicationexpressfiber

A great starting point for building RESTful APIs in Go using Gin framework, and sqlx for connecting to a PostgreSQL database. The implementation follows Clean Architecture principles as described by Uncle Bob. A starting point for building RESTful APIs in Go using the Gin framework, sqlx for PostgreSQL, and Redis for caching. Implementation follows Clean Architecture principles as described by Uncle Bob. 153 stars · MIT licence · last commit 2026-05-08.

boilerplateboilerplate-templateclean-architectureclean-code
🚀

Opinionated Go + HTMX framework for shipping production apps fast ️. The goal of this project is to build the most comprehensive Go-centric OSS starter boilerplate to ship projects fast. 457 stars · MIT licence · last commit 2026-04-02.

boilerplatedeploymententrepreneurshipfull-stack
🏯

Rapid, easy full-stack web development starter kit in Go — Echo framework, Ent ORM, HTMX with Alpine.js for interactivity, Bulma CSS, background tasks, auth, and admin panel, all compiled into a single binary. Open-source (MIT).

gohtmxalpinejsent
🐹

Wails

Open Source
Dev Tooling

Open-source framework and scaffold for desktop apps with Go and web technologies — a Go backend bound directly to a JS/TS frontend (React, Vue, Svelte templates), producing small native binaries without bundling a browser.

godesktopreactsvelte

Other stacks