Boilerplate for experienced devs

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • golang-standards/project-layout

    Standard Go Project Layout

  • About golang-standards/project-layout: You may want to read about this issue https://github.com/golang-standards/project-layout/issues/117. 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 https://gokit.io/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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: https://discord.gg/S5UjpzGZjN

  • For RBAC/ABAC take a look at Cabin: https://github.com/casbin/casbin

  • 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: https://github.com/XenitAB/go-oidc-middleware

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • service

    Starter-kit for writing services in Go using Kubernetes. (by ardanlabs)

  • For a general web app stuff I like to use this repository as a reference https://github.com/ardanlabs/service

  • 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