mirror of https://github.com/knative/pkg.git
golang format tools (#637)
Produced via: `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))` `goimports -w $(find -name '*.go' | grep -v vendor)` /assign mattmoor
This commit is contained in:
parent
75da3911c0
commit
014d54e62f
|
@ -18,6 +18,7 @@ package coveragecalculator
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
"k8s.io/apimachinery/pkg/util/sets"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@ limitations under the License.
|
||||||
package view
|
package view
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strings"
|
|
||||||
"html/template"
|
"html/template"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"knative.dev/pkg/test/webhook-apicoverage/coveragecalculator"
|
"knative.dev/pkg/test/webhook-apicoverage/coveragecalculator"
|
||||||
)
|
)
|
||||||
|
@ -50,7 +50,6 @@ func GetHTMLDisplay(coverageData []coveragecalculator.TypeCoverage, coverageValu
|
||||||
return buffer.String(), nil
|
return buffer.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// GetHTMLCoverageValuesDisplay is a helper method to display coverage values inside a HTML table.
|
// GetHTMLCoverageValuesDisplay is a helper method to display coverage values inside a HTML table.
|
||||||
func GetHTMLCoverageValuesDisplay(coverageValues *coveragecalculator.CoverageValues) (string, error) {
|
func GetHTMLCoverageValuesDisplay(coverageValues *coveragecalculator.CoverageValues) (string, error) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue