Skip to content

Instantly share code, notes, and snippets.

@confluentgist
Created April 16, 2020 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save confluentgist/0e4f0a4c102b223d0462f7ea728523f8 to your computer and use it in GitHub Desktop.
Save confluentgist/0e4f0a4c102b223d0462f7ea728523f8 to your computer and use it in GitHub Desktop.
Bincover - Build instrumented binary
#!/usr/bin/env bash
go test . -tags testbincover -coverpkg=./... -c -o instr_bin -ldflags="-X github.com/confluentinc/bincover/examples/echo-arg.isTest=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment