Replace uuid library, update vendors

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-10-06 20:08:21 +02:00
parent 6092d335ad
commit 38b1cd09f4
No known key found for this signature in database
GPG key ID: DC2729FDD34BE99E
273 changed files with 35629 additions and 9122 deletions

View file

@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/satori/uuid"
"github.com/gofrs/uuid"
log "github.com/sirupsen/logrus"
"github.com/xuyu/goredis"
)
@ -88,7 +88,7 @@ func (s storageRedis) redisKey() string {
}
func (s storageRedis) Create(secret string) (string, error) {
id := uuid.NewV4().String()
id := uuid.Must(uuid.NewV4()).String()
err := s.writeKey(id, secret)
return id, err