Seeding with current unixtime.
This commit is contained in:
parent
4a11f8dd75
commit
c0a092cc2c
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
|
||||
// Regulars
|
||||
pongo2.RegisterFilter("slugify", filterSlugify)
|
||||
pongo2.RegisterFilter("filesizeformat", filterFilesizeformat)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue