HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kjksf
on Oct 16, 2023
|
parent
|
context
|
favorite
| on:
Better HTTP server routing in Go 1.22
Adding this is so trivial. If it really, really bothers you that much:
func Get(mux, uri, handler) { mux.HandleFunc("GET " + uri, handler) }
Obviously skipped the types for brevity.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: