Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
xyzzy_plugh
1mo ago
0 comments
Save
Share
The Go standard library has learned to interpret path variables as well:
https://go.dev/blog/routing-enhancements
0 comments
1 comments · 1 top-level
top
newest
oldest
zimpenfish
1mo 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.
j
/
k
navigate · click thread line to collapse