How I write a Go REST client in 2022

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

    gout to become the Swiss Army Knife of the http client @^^@---> gout 是http client领域的瑞士军刀,小巧,强大,犀利。具体用法可看文档,如使用迷惑或者API用得不爽都可提issues

  • how about using this package https://github.com/guonaihong/gout ? It has a really convenient API and good performance too

  • requests

    HTTP requests for Gophers (by earthboundkid)

  • Seems like a useless use of generics: json.Marshal/Unmarshal aren’t type specific, so you don’t gain anything by using a generic param with them. See my library for a different take on request building: https://github.com/carlmjohnson/requests Mine also can do complex request types other than simple JSON.

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