Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTMLCoverageValuesDisplay ¶
func GetHTMLCoverageValuesDisplay(coverageValues *coveragecalculator.CoverageValues) (string, error)
GetHTMLCoverageValuesDisplay is a helper method to display coverage values inside a HTML table.
func GetHTMLDisplay ¶
func GetHTMLDisplay(coverageData []coveragecalculator.TypeCoverage, coverageValues *coveragecalculator.CoverageValues) (string, error)
GetHTMLDisplay is a helper method to display API Coverage details in json-like format inside a HTML page.
Types ¶
type DisplayRules ¶
type DisplayRules struct { PackageNameRule func(packageName string) string TypeNameRule func(typeName string) string FieldRule func(coverage *coveragecalculator.FieldCoverage) string }
DisplayRules provides a mechanism for repos to define their own display rules. DisplayHelper methods can use these rules to define how to display results.
type HtmlDisplayData ¶
type HtmlDisplayData struct { TypeCoverages []coveragecalculator.TypeCoverage CoverageNumbers *coveragecalculator.CoverageValues }
Click to show internal directories.
Click to hide internal directories.