Choose Your Go Framework: Chi Router, FastHTTP, Fiber, Echo, Gin Gonic, Go Kratos

Choose Your Go Framework: Chi Router, FastHTTP, Fiber, Echo, Gin Gonic, Go Kratos

1h 2mIntermediate2023-07-10

Authors

Akhil Sharma

Akhil Sharma

Course details

Are you experienced enough in Go to start figuring out what you don’t know? Maybe you’re familiar with the various Go frameworks, but aren’t sure how to choose the best one for your projects? In this course, Akhil Sharma gives you an overview of the six main Go web frameworks, highlighting the benefits and important functions of each. Akhil begins with the net/http package, part of the standard Go library, to give you a solid foundation in how all the frameworks have been built using the functionalities already present in the net/http package. He then breaks down six frameworks—chi Router, FastHTTP, Fiber, Echo, Gin Gonic, Go Kratos—one by one, examining the basics and intricacies, and shows how to write code in each framework. If you want to take your Go skills to the next level, having an understanding of these six frameworks will help you choose the right framework for your projects.

Skills covered

GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

Introduction

  • Understanding Go frameworks
  • The net http package in Go
  • Quick overview of all popular Go web frameworks

chi Router

  • The basics of chi router
  • Important functions in chi router
  • Examples of chi router
  • Use cases

Fasthttp

  • Introduction to Fasthttp
  • Starting a Fasthttp server
  • Use cases

Fiber

  • Why Fiber
  • Starting a server with Fiber
  • Important functions in Fiber
  • Use cases of Fiber

Echo

  • Introduction to Echo
  • Starting an Echo server
  • Use cases

Gin Gonic

  • Introduction to Gin Gonic
  • Gin Gonic - Important functions
  • Building a Gin Gonic server
  • Use cases of Gin Gonic

Go Kratos

  • Introduction to Kratos
  • Kratos - Important functions
  • Building a Kratos server
  • Use cases of Kratos

Conclusion

  • Comparison between frameworks
  • Summary
40,000 Toman