Package coverage provides tools for coverage-instrumented binaries to collect and flush coverage information.
func FlushCoverage ¶
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.