Y
Hacker News
new
|
ask
|
show
|
jobs
by
xyzzy_plugh
18 days ago
The Go standard library has learned to interpret path variables as well:
https://go.dev/blog/routing-enhancements
1 comments
zimpenfish
17 days ago
To be fair, it's not -quite- as useful - `req.PathValue` only returns `string` and you have to do the conversion to other types yourself which could lead to a faffy mess of code.
link