()
| 129 | } |
| 130 | |
| 131 | func randomID() string { |
| 132 | b := make([]byte, 16) |
| 133 | if _, err := rand.Read(b); err != nil { |
| 134 | panic(err) // This shouldn't happen |
| 135 | } |
| 136 | return hex.EncodeToString(b) |
| 137 | } |
| 138 | |
| 139 | // ConnectAndWait connects to the socket passed via well-known env var, |
| 140 | // if present, and attempts to read from it until it receives an EOF, at which |
no test coverage detected
searching dependent graphs…