Y
Hacker News
new
|
ask
|
show
|
jobs
by
PuerkitoBio
3948 days ago
I use them extensively for test cases (`cases := []struct{...} { ... }`) as mentioned in the slides. Also sometimes to marshal/unmarshal one-off json or xml payloads.