Documentation
¶
Index ¶
Constants ¶
View Source
const ( Historyy fileOption = iota Config )
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶ added in v0.1.1
func Save ¶
func Save(test TestResult) error
Save saves test result to $CONFIG_PATH/couik/history.json
Types ¶
type History ¶
type History []TestResult
func GetHistory ¶
GetHistory retrieves the history of your typing tests
type Quote ¶ added in v0.1.1
type TestResult ¶
type TypingData ¶ added in v0.1.1
func LoadEmbeddedQuotes ¶ added in v0.1.1
func LoadEmbeddedQuotes(lang Language) TypingData
LoadEmbeddedQuotes loads data from json files according to the language (english and french for now)
Click to show internal directories.
Click to hide internal directories.