app

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "htmlcov"
	VER  = "0.0.2"
	DESC = "Utility for converting coverage profiles into HTML pages"
)

Basic utility info

View Source
const (
	OPT_OUTPUT   = "o:output"
	OPT_REMOVE   = "r:remove"
	OPT_NO_COLOR = "nc:no-color"
	OPT_HELP     = "h:help"
	OPT_VER      = "v:version"

	OPT_COMPLETION   = "completion"
	OPT_GENERATE_MAN = "generate-man"
)

Options

View Source
const TAB_SIZE = 4

TAB_SIZE is number of spaces for tab symbols

View Source
const TEMPLATE = `` /* 2443-byte string literal not displayed */

TEMPLATE is HTML template

Variables

This section is empty.

Functions

func Init

func Init()

Init is main function

Types

type CoverData

type CoverData struct {
	Files []*FileCover
	IsSet bool
}

type FileCover

type FileCover struct {
	Name     string
	Data     template.HTML
	Coverage float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL