(length int)
| 181 | } |
| 182 | |
| 183 | func generateRandomString(length int) string { |
| 184 | b := make([]byte, length) |
| 185 | _, err := rand.Read(b) |
| 186 | if err != nil { |
| 187 | panic(err) |
| 188 | } |
| 189 | return base64.StdEncoding.EncodeToString(b) |
| 190 | } |
| 191 | |
| 192 | func generateInvalidQueueQuery(queueName string) string { |
| 193 | quotedTableName := pg.QuoteIdentifier(queueName) |
no outgoing calls
no test coverage detected