package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Dec 17, 2019
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitMetricFile() error
InitMetricFile initializes an empty metric file
type Character struct {
}
Character is a metric that counts the characters
Load reads the last metric state
Add addes characters to the count ignoring the provided ignored chars
Count returns the current count
Persist saves the metric to disk
Source Files
¶
Click to show internal directories.
Click to hide internal directories.