Implementing a simple jq clone in Go, and basics of Go memory profiling

from blog Notes on software development, | ↗ original
In this post we'll build a basic jq clone in Go. It will only be able to pull a single path out of each object it reads. It won't be able to do filters, mapping, etc. $ cat large-file.json | head -n2 | ./jqgo '.repo.url' "https://api.github.com/repos/petroav/6.828" "https://api.github.com/repos/rspt/rspt-theme" We'll start by building a "control"...