Boilerplate for experienced devs

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

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 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/

  • ONLYOFFICE

    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: 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

  • 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 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