Boilerplate for experienced devs

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • InfluxDB - Access the most powerful time series database as a service
  • SonarQube - Static code analysis for 29 languages.
  • golang-standards/project-layout

    Standard Go Project Layout

    About golang-standards/project-layout: You may want to read about this issue Basically the projects name is misleading and the layout is definitely not standard.

  • go-kit

    A standard library for microservices.

    If you're dealing with microservices then you can also look at


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • go-patterns

    Curated list of Go design patterns, recipes and idioms

  • simple_gopher

    Boilerplate for writing Go applications without framework using hexagonal application development approach

  • casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Golang

    For RBAC/ABAC take a look at Cabin:

  • jennifer

    Jennifer is a code generator for Go

    I just spent a few hours writing a crapload of boilerplate code generation code with jennifer, if that helps any.

  • go-oidc-middleware

    OpenID Connect (OIDC) http middleware for Go

    I’ve built a library to try and make it easier to consume these services and their JWTs that works with net/http, mux, chi, gin, echo and fiber if you don’t want to implement the logic of discovery and validation yourself:

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • service

    Starter code for writing web services in Go using Kubernetes. (by ardanlabs)

    For a general web app stuff I like to use this repository as a reference

  • ent

    An entity framework for Go

  • zap

    Blazing fast, structured, leveled logging in Go.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts