GitHub examples of Go that's written really well?

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

  • Bolt db and Bolt db's author post to go with it.

  • wild-workouts-go-ddd-example

    Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

  • This may be a bit overengineered but I found a couple of nice patterns there, there's also a blog series to go with it. I recommend if you are interested in how to write business apps with Go.

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

    HTTP routing for Go 1.7

  • service

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

  • Gin

    Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

  • I use https://github.com/gin-gonic/gin as a web framework (https://github.com/go-chi/chi and https://github.com/labstack/echo) and https://github.com/jmoiron/sqlx as a data base interaction library. As you implement the function you go look at the source code for the functions. Best way to learn the "community accepted structure" and you have the advantage of seeing the implementation of that code as well.

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

  • I use https://github.com/gin-gonic/gin as a web framework (https://github.com/go-chi/chi and https://github.com/labstack/echo) and https://github.com/jmoiron/sqlx as a data base interaction library. As you implement the function you go look at the source code for the functions. Best way to learn the "community accepted structure" and you have the advantage of seeing the implementation of that code as well.

  • Echo

    High performance, minimalist Go web framework

  • I use https://github.com/gin-gonic/gin as a web framework (https://github.com/go-chi/chi and https://github.com/labstack/echo) and https://github.com/jmoiron/sqlx as a data base interaction library. As you implement the function you go look at the source code for the functions. Best way to learn the "community accepted structure" and you have the advantage of seeing the implementation of that code as well.

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

    general purpose extensions to golang's database/sql

  • I use https://github.com/gin-gonic/gin as a web framework (https://github.com/go-chi/chi and https://github.com/labstack/echo) and https://github.com/jmoiron/sqlx as a data base interaction library. As you implement the function you go look at the source code for the functions. Best way to learn the "community accepted structure" and you have the advantage of seeing the implementation of that code as well.

  • clean-architecture-blog

    Attempt to implement ideas of the Clean Architecure in a simple project

  • So here's an example of the uncle's Bob Clean Architecture implemented in golang

  • wtf

    WTF Dial is an example web application written in Go. (by benbjohnson)

  • Check out https://github.com/benbjohnson/wtf, it was written exactly for this purpose.

  • go

    The Go programming language

  • Hello. Please check these links below. https://go.dev/doc/effective_go https://github.com/golang/go/wiki/CodeReviewComments

  • routine

    Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages. (by go-eden)

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