Why Knowing Gin, Chi, or Mux in Go is Not Enough

David Lee
4 min readMay 28, 2023

Web frameworks like Gin, Chi, or Mux in Go provide abstractions and higher-level APIs that simplify the process of building web applications. They handle the underlying TCP connections and provide a more user-friendly interface for handling HTTP requests and responses.

These frameworks abstract away the low-level details of TCP connection establishment, allowing developers to focus on handling the HTTP protocol and building the application logic. They provide convenient routing mechanisms, middleware support, and various utilities to handle different aspects of web development, such as request parsing, response generation, and session management.

By using these web frameworks, you don’t need to have an in-depth understanding of the underlying TCP connection logic. The frameworks handle the TCP connection establishment and management for you, so you can focus on writing your application code using the higher-level HTTP concepts.

This abstraction simplifies the development process and allows you to build web applications more efficiently without having to deal with the intricacies of TCP connections directly.

Why You Need TCP Knowledge:

Understanding TCP details becomes important in certain scenarios, even when using higher-level web…

--

--

David Lee

Gopher and Rustacean -- > ⾶ 🤺 I use VIM btw 🤫