Initial commit

This commit is contained in:
kuralamudhan ramakrishnan
2016-12-13 14:48:12 +00:00
commit 64e8857e21
315 changed files with 95102 additions and 0 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])
}