ripgrep with context grep

3 lines of context around matches in Go files

rg 'panic' -C3 --glob '*.go'