package
Version:
v1.0.1-0...-c326910
Opens a new window with list of versions in this module.
Published: Nov 12, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Commit(key string, value interface{})
Commit values to the report
To print values to stdout use Write function
Get value that was previously committed
Increment the value under the specified key
Works for int values only
Returns the new value of the counter.
Reset sets all the counter values to 0
Write function prints report to stdout and clear all values
Source Files
¶
Click to show internal directories.
Click to hide internal directories.