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