(seed int64)
| 35 | const jsonSeed int64 = 0xC0FFEE |
| 36 | |
| 37 | func newRNG(seed int64) *mathrand.Rand { |
| 38 | return mathrand.New(mathrand.NewSource(seed)) |
| 39 | } |
| 40 | |
| 41 | // randomJSONValue builds a random nested Go value suitable for |
| 42 | // encoding/json.Marshal. The shape (depth, breadth, alternatives) is chosen |
no outgoing calls
no test coverage detected