Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ easystat Public

Work in progress -- easystat library for Go / golang

License

tedb/easystat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Easystat for Golang

Very easily record statistics for your program, in a concurrency-safe way

Copyright Licensing

See enclosed LICENSE.txt file.

Example Usage

The following will print sums of foo = 5 and bar = 10 to stderr:

stats := easystat.NewWriter(os.Stderr, 500*time.Millisecond)
stats.Add("foo", 1)
stats.Add("bar", 2)
stats.Add("foo", 4)
stats.Add("bar", 8)
stats.Stop()

About

Work in progress -- easystat library for Go / golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages