(length uint8)
| 36 | } |
| 37 | |
| 38 | func createRandomStringGenerator(length uint8) func() string { |
| 39 | return func() string { |
| 40 | return randomString(length) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // https://tip.golang.org/doc/go1.19#:~:text=Read%20no%20longer%20buffers%20random%20data%20obtained%20from%20the%20operating%20system%20between%20calls |
| 45 | var randomReaderPool = sync.Pool{New: func() any { |
no test coverage detected
searching dependent graphs…