mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 05:01:41 +00:00
Update matrix-org/util
This commit is contained in:
parent
63d1bcd66a
commit
f87f7676bb
2
vendor/manifest
vendored
2
vendor/manifest
vendored
@ -74,7 +74,7 @@
|
||||
{
|
||||
"importpath": "github.com/matrix-org/util",
|
||||
"repository": "https://github.com/matrix-org/util",
|
||||
"revision": "2aeb7e5d047ec74d65353f1579990a1e90af5bb0",
|
||||
"revision": "0f4d9cce82badc0741ff1141dcf079312cb4d2f0",
|
||||
"branch": "master"
|
||||
},
|
||||
{
|
||||
|
@ -7,6 +7,7 @@ import (
|
||||
"math/rand"
|
||||
"net/http"
|
||||
"runtime/debug"
|
||||
"time"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
)
|
||||
@ -152,3 +153,7 @@ func RandomString(n int) string {
|
||||
}
|
||||
return string(b)
|
||||
}
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user