mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 11:24:40 -04:00
content: Fix collections.D seed example
This commit is contained in:
parent
d2486ba679
commit
439b5c18bc
@ -49,7 +49,7 @@ Choosing an appropriate seed value depends on your objective.
|
||||
Objective|Seed example
|
||||
:--|:--
|
||||
Consistent result|`42`
|
||||
Different result on each call|`time.Now.UnixNano`
|
||||
Different result on each call|`int time.Now.UnixNano`
|
||||
Same result per day|`time.Now.YearDay`
|
||||
Same result per page|`hash.FNV32a .Path`
|
||||
Different result per page per day|`hash.FNV32a (print .Path time.Now.YearDay)`
|
||||
|
Loading…
x
Reference in New Issue
Block a user