#Building GoLang API Help

3 messages · Page 1 of 1 (latest)

pliant apex
#

Hey all,

I have been learning Go recently and would like to learn more about modern API development libraries and design patterns. I have been playing with Gin a little bit and it has worked out well for creating my simple micro services, but now I’m getting interested in diving a deeper to compare other libraries and design patterns for API development.

If you have any libraries as an suggestion compared to Gin or design patterns for API development in Go can you please share.

split pike
#

suggestion from myside ... don't use such libs.
Go has a powerful std lib.
learn to build scalable, powerful api's without these libs, because most of them do not improve, they just generate overhead

vapid folio
#

The standard library for Go is very good, as SaXy mentions. Most HTTP/API frameworks/libraries for Go either build on top of that slightly, or implement some sort of project structuring. But the stdlib really has everything you need.

If you're interested in something a little more different, you can check out #goapi-gen. It generates most of the API boilerplated code from a provided OAPI3 spec. It uses go-chi under the hood for routing, which is built on top of net/http.