The Go project has recently received a proposal for “enhanced ServeMux routing” which aims to improve the selection of the request handler in ServeMux. Previously, the selection process was straightforward, merely based on the path. However, with this enhancement, it will allow for more precise selection based on defined patterns.
Typically, having the ability to select handlers with great precision is considered a standard feature in web application development frameworks. Go itself has the popular Fiber framework, as well as smaller libraries like Gorilla, which are also highly favored. By incorporating this feature into the standard library, Go allows developers to easily develop web applications without the need for external libraries that may not be consistently maintained.
Currently, the code has been implemented in the Go repository and it is expected to be released in the near future.
TLDR: The Go project has received a proposal to enhance the ServeMux routing feature, allowing for more precise selection of request handlers based on defined patterns. This enhancement eliminates the need for external libraries and simplifies web application development. The code is currently being implemented in the Go repository and will be released soon.