We're losing the art of bash
```
find -type f -iname '*.go' | xargs -r -n1 sed -i 's,foo,foobar,g'
```
(and agree re -print0/-0, it's absolutely essential)
In any case, OP was using `-n1` which means one file per invocation.
noone can remember these abbreviations
noone except your shell! Fish is perfect and very very often can guess what I want using pwd, file existence, current prompt, etc...
you'll never build good UX and a powerful tool. You're either a master of your tool or you're not.