Skip to content

Instantly share code, notes, and snippets.

@Bogdaan
Created June 21, 2020 16:38
Show Gist options
  • Save Bogdaan/489d13b57f1cb29a59fc560ec3812ffc to your computer and use it in GitHub Desktop.
Save Bogdaan/489d13b57f1cb29a59fc560ec3812ffc to your computer and use it in GitHub Desktop.
grc config for go
regexp==== RUN .*
colour=blue
-
regexp=--- PASS: .*
colour=green
-
regexp=^PASS$
colour=green
-
regexp=^(ok|\?) .*
colour=magenta
-
regexp=^\s*panic: .*
colour=red
-
regexp=--- FAIL: .*
colour=red
-
regexp=[^\s]+\.go(:\d+)?
colour=cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment