Best golang framework for microservice

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

    Easy and Repeatable Kubernetes Development

    I have been using Skaffold to deploy my apps to Kubernetes. As I use this for spring Boot apps too so it saves me learning another deployment process.

  • go-cloud

    The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go.

    I generally use Go Cloud in most projects. Has a lot of boiler plate stuff that's useful when deploying on either Google Cloud or AWS.

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

  • go-zero

    A cloud-native Go microservices framework with cli tool for productivity.

  • restruct

    RESTruct is a rest router written in Go to automatically create routes based on your structs. (by altlimit)

    Not the best, but after using gorilla mux for routing for a while, I've decided to build my own https://github.com/altlimit/restruct

  • kratos

    Your ultimate Go microservices framework for the cloud-native era.

    https://github.com/go-kratos/kratos has good examples for project layout

  • rest

    Web services with OpenAPI and JSON Schema done quick in Go (by swaggest)

    For anything that needs OpenAPI docs, I’ve honestly found https://github.com/swaggest/rest pretty awesome. It’s basically just doc generation on top of Chi, but it does a lot of stuff right.

  • Fiber

    ⚡️ Express inspired web framework written in Go

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

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