DEV Community

Cover image for Best Golang Web Framework for Larg Projects
Javad Rajabzade
Javad Rajabzade

Posted on • Updated on

Best Golang Web Framework for Larg Projects

Please Send reply about your experience using this web framework in your projects.

List Framework by Github Status for discuss

Framework Commit Star Fork Example Documentation Last Release
Gin 1423 46.3k 5.3k Yes Yes 2020/5/3
Iris 2251 20.5k 2.2k Yes Yes 2021/1/10
fiber 2937 13.2k 611 Yes Yes 2021/5/6
beego 4220 26k 5.1k Yes Yes 2020/12/14
echo 1510 19.3k 1.7k Yes Yes 2021/3/8
revel 1618 12.2k 1.4k Yes Yes 2020/7/12
buffalo 2589 6.1k 480 Yes Yes 2021/1/18
Confetti 257 215 3 Yes Yes 2021/3/13

Gin

  • Fast
  • Middleware support
  • Crash-free
  • JSON validation
  • Routes grouping
  • Error management
  • Rendering built-in
  • Extendable

Iris

  • FAMILIAR API
  • SOLID
  • FAST
  • COMPATIBILITY
  • POWERFUL ROUTING
  • LOGGING
  • SCALABLE SESSIONS
  • SCALABLE WEBSOCKET
  • MVC PATTERN
  • FILE SERVER
  • SMART COMPRESSION
  • VIEWS
  • GRPC
  • CONTENT
  • API VERSIONING
  • SITEMAP
  • AUTHENTICATION AND AUTHORIZATION
  • LOCALIZATION
  • TESTING
  • LOCALHOST

Echo

  • Optimized Router
  • Scalable
  • Automatic TLS
  • HTTP/2
  • Middleware
  • Data Binding
  • Data Rendering
  • Templates
  • Extensible

buffalo

  • Routing
  • Templating
  • Buffalo toolbox
  • Testing
  • Hot code reload
  • Frontend pipeline
  • Models/ORM
  • Task / Background workers

beego

  • Easy to use
  • Intelligent
  • Modular
  • High Performance
  • MVC

revel

  • Hot Code Reload
  • Comprehensive
  • Flow Control
  • Migration Friendly
  • Reusable MVC Components
  • Go mod Ready
  • Stateless

fiber

  • Robust Routing
  • Serve Static Files
  • API-ready
  • Flexible Middleware Support
  • Low Memory Footprint
  • Rapid Programming
  • Template Engines
  • WebSocket Support
  • Rate Limiter

Confetti (New Web Framework)

  • heavily influenced by Laravel
  • extremely simple syntax
  • easy to learn
  • easy to deploy
  • Developer friendly
  • Easily adaptable

Discussion (11)

Collapse
reindertvetter profile image
Reindert
Collapse
lexiebkm profile image
Alexander B.K.

Actually I am still considering to get started with Golang and have plan to learn it when I have time. But, my mind is on the frameworks too, so I am doing survey for the frameworks like in this article.
Now after reading the description of Confetti in this article, i.e about Laravel's heavy influence on it, I soon visited its official website for an introduction.
I hope it is not like AdonisJs, a Node.js framework which is also heavily inspired by Laravel. Because, although looks very nice, I didn't find wide acceptance of Adonis among Node.js developers who still prefer a minimalist framework like Express.
After my learning of Go/Golang is sufficient, I plan to give it a try.

Collapse
ja7ad profile image
Javad Rajabzade Author

Your framework add to list

Collapse
encryptblockr profile image
encryptblockr • Edited on

which of these frameworks come with automatic openapi/swagger docs???

Collapse
aceix profile image
the.Aceix

Fiber has a middleware for comment-based automatic docs
github.com/arsmn/fiber-swagger

Collapse
ja7ad profile image
Javad Rajabzade Author

Iris go

Collapse
jllanesss profile image
jllanes-ss

Hi @ja7adr

Nice post. You are forgetting Fiber, go-kit and micro

Regards

Collapse
ja7ad profile image
Javad Rajabzade Author

I add today

Collapse
pontakornth profile image
pontakornth

Why Iris is in all caps? BTW, I have about the Iris framework has some sort of drama. Is it better now?

Collapse
alcalbg profile image
Milos Stojanovic

New: GoTuna - web framework written in Go
gotuna.org

Collapse
kevwan profile image
Kevin Wan

New, 9 months, 8.2k stars, github.com/tal-tech/go-zero