content: Fix collections.D seed example

This commit is contained in:
Joe Mooring
2025-09-10 07:24:34 -07:00
committed by GitHub
parent d2486ba679
commit 439b5c18bc
+1 -1
View File
@@ -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)`