Update README.md

pull/251/head
Anton Medvedev 1 year ago
parent 3e0987a586
commit 3b519e8a56
No known key found for this signature in database

@ -110,7 +110,7 @@ Fx has a special syntax for the flatMap function. Fox example,
`.flatMap(x => x.labels.flatMap(x => x.name))` can be rewritten in the next way.
```sh
curl https://api.github.com/repos/kubernetes/kubernetes/issues | fx '.[].labels[].name'
curl https://api.github.com/repos/kubernetes/kubernetes/issues | fx '.[].labels[].name' 'sort' 'uniq' 'groupBy(x => x.split("/")[0])'
```
## License

Loading…
Cancel
Save