Requesting opinion to evaluate frameworks vs stdlib for my use case

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

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

    A high performance HTTP request router that scales well

  • The biggest shortcomings of the default net/http implementation are, in my opinion, the inability to route based on HTTP method and the lack of path-based parameters. That being said, a full framework is often overkill as well. I'd probably recommend something like Gin or Chi, or even just httprouter if you want to be really minimal.

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

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

    Generate Go client and server boilerplate from OpenAPI 3 specifications

  • I looked into this codegen which generates chi server using Open API spec but I found it a bit more than I could chew right now. If all goes well then I'll be looking into integrating various libraries for the requirements I have mentioned. JWT decoding is a must which I am looking at.

  • openapi-generator

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

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