1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 19:07:06 +00:00

update vendor

Former-commit-id: 8e7fca843e404d34fec071415191657ea554dd05
This commit is contained in:
Gerasimos Maropoulos
2018-04-03 13:07:23 +03:00
parent e9e2998538
commit 989cb3f045
5 changed files with 8 additions and 6 deletions

View File

@@ -10,7 +10,8 @@ type Generator func() string
// DefaultGenerator is the defautl url generator
var DefaultGenerator = func() string {
return uuid.NewV4().String()
id, _ := uuid.NewV4()
return id.String()
}
// Factory is responsible to generate keys(short urls)