6 ms·
not really, point 2 isn't in the standard library.
by zemo 4y ago
not really, point 2 isn't in the standard library.
- xena 4y agohttps://pkg.go.dev/net/http?utm_source=godoc#ReadRequest https://pkg.go.dev/net/http?utm_source=godoc#ReadRequest
- zemo 4y agothat’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.