Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for htmlOutput (0.14 sec)

  1. src/cmd/cover/html.go

    	"io"
    	"math"
    	"os"
    	"path/filepath"
    	"strings"
    
    	"golang.org/x/tools/cover"
    )
    
    // htmlOutput reads the profile data from profile and generates an HTML
    // coverage report, writing it to outfile. If outfile is empty,
    // it writes the report to a temporary file and opens it in a web browser.
    func htmlOutput(profile, outfile string) error {
    	profiles, err := cover.ParseProfiles(profile)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top