Skip to content

actforgood/xrand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xrand

Build Status License Coverage Status Goreportcard Go Reference


Package xrand contains some randomize utilities like a random string generator, a jitter function for durations.
It uses math rand seeded with a crypro rand generated seed. See go doc reference for more details and examples.

Installation

$ go get github.com/actforgood/xrand

Misc

Feel free to use this pkg if you like it and fits your needs.
As it is a light/lite pkg, you can also just copy-paste the code, instead of importing it, keeping the license header.

License

This package is released under a MIT license. See LICENSE.