FakerRandomizer implements the Random interface, using the Faker library.
| 118 | |
| 119 | // FakerRandomizer implements the Random interface, using the Faker library. |
| 120 | type FakerRandomizer struct { |
| 121 | Seed string |
| 122 | faker *faker.Faker |
| 123 | rand *rand.Rand |
| 124 | } |
| 125 | |
| 126 | func (r *FakerRandomizer) ArrayLength() int { |
| 127 | return r.Int()%3 + 2 |
nothing calls this directly
no outgoing calls
no test coverage detected