Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { Name string Duration time.Duration // number of B/op Bytes int // number of allocs/op Allocs int }
Benchmark contains the results of a single benchmark.
type Package ¶
type Package struct { Name string Duration time.Duration Tests []*Test Benchmarks []*Benchmark CoveragePct string // Time is deprecated, use Duration instead. Time int // in milliseconds }
Package contains the test results of a single package.
type Report ¶
type Report struct {
Packages []Package
}
Report is a collection of package tests.
Click to show internal directories.
Click to hide internal directories.