Documentation ¶
Overview ¶
Package model implements tea.Model. The model created by it can be used directly in the tea framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model implements tea.Model.
type Option ¶
type Option func(*Model)
Option is a function that can be used to modify the model.
func WithCodeRoot ¶
WithCodeRoot sets the root directory of the code to be analyzed.
func WithCoverageSorting ¶ added in v0.4.0
WithCoverageSorting asks for the profiles to be sorted by coverage percent instead of alphabetically.
func WithFilteredLines ¶ added in v0.5.0
WithFilteredLines sets a list of lines to display for every file. Other lines will not appear.
func WithProfileFilename ¶
WithProfileFilename sets the filename of the coverage report to be loaded.
func WithRequestedFiles ¶ added in v0.3.0
WithRequestedFiles sets the list of files to be displayed.
Click to show internal directories.
Click to hide internal directories.