Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloatGenerator ¶
type FloatGenerator struct {
Min float64
Max float64
Buffersize int
// contains filtered or unexported fields
}
func NewFloatGenerator ¶
func NewFloatGenerator(min float64, max float64, num int) (FloatGenerator, error)
func (*FloatGenerator) Rand ¶
func (i *FloatGenerator) Rand() float64
func (*FloatGenerator) Refresh ¶
func (i *FloatGenerator) Refresh() error
type IntGenerator ¶
type IntGenerator struct {
Min int
Max int
Buffersize int
// contains filtered or unexported fields
}
func NewIntGenerator ¶
func NewIntGenerator(min, max, num int) (IntGenerator, error)
func (*IntGenerator) Rand ¶
func (i *IntGenerator) Rand() int
func (*IntGenerator) Refresh ¶
func (i *IntGenerator) Refresh() error
Click to show internal directories.
Click to hide internal directories.