Move to vendor dir

This commit is contained in:
Zachary Gershman
2016-06-21 08:09:19 -07:00
parent cd28eb3859
commit dc2870080e
282 changed files with 135 additions and 6438 deletions

View File

@@ -0,0 +1,15 @@
package specrunner
import (
"crypto/rand"
"fmt"
)
func randomID() string {
b := make([]byte, 8)
_, err := rand.Read(b)
if err != nil {
return ""
}
return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8])
}