Working with Go Web Frameworks — Gin and Echo

Golang web frameworks benchmark (source)
  • Routers with far better performance and route matching capabilities compared to net/http’s with things like router groups and helper functions
  • Extensible middleware framework, define middleware at root, group or route level
  • Request serialisation and validation
  • Handy functions to send a variety of HTTP responses
  • Tons of examples
  • Active development and support
  • Documentation
  • Nicer handler func signature (returning an error)
  • A router without absurd pattern matching issues.
  • Less opinionated on certain things like validation (e.g. bring your own validator)
  • Centralized HTTP error handling




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Best Practices for Using Functional Programming in Python

Working with a Git remote

How to setup a virtual desktop on Kubernetes in 15 minutes

Solving the Maze Problem using D&C


Our Tuesday Release is here — Webiny 4.3.0 🎉

Making your Jekyll Site More Secure! Sample Series: Output to Kafka

File-to-Kafka workflow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Emir Ribic

Emir Ribic

More from Medium

Road to Go Pro — Async Part 2: Channels

Watch Out for These Tricky Things in Go

How to find Min or Max value in a Stack with Go

How I set up my Go development environment