summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/pborman/uuid/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pborman/uuid/util.go')
-rw-r--r--vendor/github.com/pborman/uuid/util.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/github.com/pborman/uuid/util.go b/vendor/github.com/pborman/uuid/util.go
index fc8e052c..255b5e24 100644
--- a/vendor/github.com/pborman/uuid/util.go
+++ b/vendor/github.com/pborman/uuid/util.go
@@ -4,17 +4,6 @@
package uuid
-import (
- "io"
-)
-
-// randomBits completely fills slice b with random data.
-func randomBits(b []byte) {
- if _, err := io.ReadFull(rander, b); err != nil {
- panic(err.Error()) // rand should never fail
- }
-}
-
// xvalues returns the value of a byte as a hexadecimal digit or 255.
var xvalues = [256]byte{
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,