//
pkg.gl
Category
github.com/jeevic/lego
components
breakers
utils
package
0.0.0-20230306073224-9a47451aa932
Repository:
https://github.com/jeevic/lego.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
32 SLOC
#
Functions
NewProba
NewProba returns a Proba.
Now
Now returns a relative time duration since initTime, which is not important.
Since
Since returns a diff since given d.
Time
Time returns current time, the same as time.Now().
#
Structs
Proba
A Proba is used to test if true on given probability.