Documentation ¶ Index ¶ func RandTrue(Molecular int, Denominator int) bool func RandomString(length int) string type Counter func NewCounter(startId int64) *Counter func (itself *Counter) Add() int64 func (itself *Counter) Clean() int64 func (itself *Counter) Get() int64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RandTrue ¶ func RandTrue(Molecular int, Denominator int) bool func RandomString ¶ func RandomString(length int) string Types ¶ type Counter ¶ type Counter struct { // contains filtered or unexported fields } func NewCounter ¶ func NewCounter(startId int64) *Counter func (*Counter) Add ¶ func (itself *Counter) Add() int64 func (*Counter) Clean ¶ func (itself *Counter) Clean() int64 func (*Counter) Get ¶ func (itself *Counter) Get() int64 Source Files ¶ View all Source files rand.go Click to show internal directories. Click to hide internal directories.