HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by xena | Hacker News Reader
Parent
Full thread
xena
·
Fun fact: you just described Go's net/http package.
View on HN
metadaemon
·
It's also pretty much Express.js
zemo
·
not really, point 2 isn't in the standard library.
xena
·
https://pkg.go.dev/net/http?utm_source=godoc#ReadRequest
zemo
·
that’s not what the Axum example does. The function you’re linking turns an opaque run of bytes into an http request object. What the Axum example does is turn an http request object into a value of some other type T.
Reply on news.ycombinator.com