Documentation ¶
Index ¶
- type RandFactory
- func (f RandFactory) Float() float64
- func (RandFactory) Float32() float32
- func (RandFactory) Float32n(min, max float32) float32
- func (RandFactory) Float64() float64
- func (RandFactory) Float64n(min, max float64) float64
- func (f RandFactory) Floatn(min, max float64) float64
- func (RandFactory) Int() int
- func (RandFactory) Int16() int
- func (RandFactory) Int32() int
- func (RandFactory) Int64() int64
- func (RandFactory) Int8() int
- func (RandFactory) Intn(min, max int64) int64
- func (RandFactory) New(seed int64) *rand.Rand
- func (RandFactory) Perm(n int) []int
- func (RandFactory) Read(buf base.Buffer) (int, error)
- func (RandFactory) Shuffle(n int, swap func(i, j int))
- func (RandFactory) Uint16() uint
- func (RandFactory) Uint32() uint
- func (RandFactory) Uint64() uint64
- func (RandFactory) Uint8() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandFactory ¶
type RandFactory struct{}
func (RandFactory) Float ¶
func (f RandFactory) Float() float64
func (RandFactory) Float32 ¶
func (RandFactory) Float32() float32
func (RandFactory) Float32n ¶
func (RandFactory) Float32n(min, max float32) float32
func (RandFactory) Float64 ¶
func (RandFactory) Float64() float64
func (RandFactory) Float64n ¶
func (RandFactory) Float64n(min, max float64) float64
func (RandFactory) Floatn ¶
func (f RandFactory) Floatn(min, max float64) float64
func (RandFactory) Int ¶
func (RandFactory) Int() int
func (RandFactory) Int16 ¶
func (RandFactory) Int16() int
func (RandFactory) Int32 ¶
func (RandFactory) Int32() int
func (RandFactory) Int64 ¶
func (RandFactory) Int64() int64
func (RandFactory) Int8 ¶
func (RandFactory) Int8() int
func (RandFactory) Intn ¶
func (RandFactory) Intn(min, max int64) int64
func (RandFactory) Perm ¶
func (RandFactory) Perm(n int) []int
func (RandFactory) Shuffle ¶
func (RandFactory) Shuffle(n int, swap func(i, j int))
func (RandFactory) Uint16 ¶ added in v1.0.5
func (RandFactory) Uint16() uint
func (RandFactory) Uint32 ¶
func (RandFactory) Uint32() uint
func (RandFactory) Uint64 ¶
func (RandFactory) Uint64() uint64
func (RandFactory) Uint8 ¶
func (RandFactory) Uint8() uint
Click to show internal directories.
Click to hide internal directories.