Package coverage provides tools for coverage-instrumented binaries to collect and flush coverage information.
FlushCoverage flushes collected coverage information to disk. The destination file is configured at startup and cannot be changed. Calling this function also sends a line like "coverage: 5% of statements" to stdout.
InitCoverage is called from the dummy unit test to prepare Go's coverage framework. Clients should never need to call it.