Seeding with current unixtime.
This commit is contained in:
parent
4a11f8dd75
commit
c0a092cc2c
@ -18,6 +18,8 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
|
||||
// Regulars
|
||||
pongo2.RegisterFilter("slugify", filterSlugify)
|
||||
pongo2.RegisterFilter("filesizeformat", filterFilesizeformat)
|
||||
|
Loading…
Reference in New Issue
Block a user