Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hyperturtle
on Oct 16, 2023
|
parent
|
context
|
favorite
| on:
Better HTTP server routing in Go 1.22
I also don't prefer using strings, but to be fair, HTTP methods are just strings when the request is received. There is some beauty in that in matches the prefix of the first line of an HTTP packet
lucb1e
on Oct 16, 2023
|
next
[–]
On the wire, everything is a string. Doesn't make it a good type to use!
cowl
on Oct 17, 2023
|
prev
[–]
Strings with a well defined meaning that is not being taken into consideration here beyond routing.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: