Requesting opinion to evaluate frameworks vs stdlib for my use case

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • 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.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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