analysis

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ANALYSIS_INSTRUCTIONS = "CTRL+C to exit\nENTER to retry"

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisModel

type AnalysisModel struct {
	Time       float64 // amount of time taken in seconds
	Words      int     // number of Correct words
	Correct    int     // number of Correct characters
	Characters int     // total characters typed
}

func NewAnalysisModel

func NewAnalysisModel() AnalysisModel

func (AnalysisModel) Init

func (am AnalysisModel) Init() tea.Cmd

func (AnalysisModel) Update

func (am AnalysisModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (AnalysisModel) View

func (am AnalysisModel) View() string

Jump to

Keyboard shortcuts

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