Skip to content

Instantly share code, notes, and snippets.

@confluentgist
Created April 16, 2020 20:47
Embed
What would you like to do?
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