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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user