robots/coverage/diff/view.go
func ContentForGitHubPost(baseProfiles, newProfiles []*cover.Profile, jobName string, coverageThreshold float32) (
	string, bool) {

	rows := []string{
		"The following is the code coverage report",
		fmt.Sprintf("Say `/test %s` to re-run this coverage report", jobName),
		"",
		"File | Old Coverage | New Coverage | Delta",
		"---- |:------------:|:------------:|:-----:",
	}

	table, isCoverageLow := makeTable(calculation.ProduceCovList(baseProfiles), calculation.ProduceCovList(newProfiles), coverageThreshold)

	if table == "" {
		return "", false
	}

	rows = append(rows, table)
	rows = append(rows, "")

	return strings.Join(rows, "\n"), isCoverageLow
}
func ContentForGitHubPost(baseProfiles, newProfiles []*cover.Profile, jobName string, coverageThreshold float32) (
	string, bool) {

	rows := []string{
		"The following is the code coverage report",
		fmt.Sprintf("Say `/test %s` to re-run this coverage report", jobName),
		"",
		"File | Old Coverage | New Coverage | Delta",
		"---- |:------------:|:------------:|:-----:",
	}

	table, isCoverageLow := makeTable(calculation.ProduceCovList(baseProfiles), calculation.ProduceCovList(newProfiles), coverageThreshold)

	if table == "" {
		return "", false
	}

	rows = append(rows, table)
	rows = append(rows, "")

	return strings.Join(rows, "\n"), isCoverageLow
}
// ContentForGitHubPost constructs the message covbot posts