New Routing Improvements in Go 1.22
Published in
4 min readApr 11, 2024
Go continues with an effort to make Go a great language for building production systems. They studied many third-party web frameworks, extracted what they felt were the most used features, and integrated them into net/http
. Let’s see what’s new.
Old way
When we want to handle HTTP methods we need to write ifs
to check what HTTP method we use. In the new approach, we don’t…