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