blob: 59dddfb84e2a438b57517e20f73d01e9745715d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package interfaces
// RandomIntegerBoundary is the struct for random integer boundaries
type RandomIntegerBoundary struct {
Start int
End int
}
// RandomFloatBoundary is the struct for random float boundaries
type RandomFloatBoundary struct {
Start float64
End float64
}
var (
DefaultIntBoundary = RandomIntegerBoundary{Start: 0, End: 100}
DefaultFloatBoundary = RandomFloatBoundary{Start: 0, End: 100}
)
|