(r *mathrand.Rand)
| 81 | } |
| 82 | |
| 83 | func randKey(r *mathrand.Rand) string { |
| 84 | letters := "abcdefghijklmnopqrstuvwx" |
| 85 | n := r.Intn(6) + 1 |
| 86 | var b strings.Builder |
| 87 | for i := 0; i < n; i++ { |
| 88 | b.WriteByte(letters[r.Intn(len(letters))]) |
| 89 | } |
| 90 | return b.String() |
| 91 | } |
| 92 | |
| 93 | func randJSONString(r *mathrand.Rand) string { |
| 94 | var choices = []string{ |
no test coverage detected