1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 23:28:02 +00:00

Fix a typo: pseud -> pseudo

This commit is contained in:
jbranchaud
2016-02-14 14:02:27 -06:00
parent 009d016df1
commit 48ac0689d6

View File

@@ -2,7 +2,11 @@
Go's `rand` package makes it easy to generate all sorts of pseudo-random numbers.
What they don't tell you though is that the default seed is `1`. They [do tell you that the numbers are pseud-random and that you need to use the Seed function to initialize the default source if different behavior is required for each run](https://golang.org/pkg/math/rand/), though. So if you write a program like so:
What they don't tell you though is that the default seed is `1`. They [do
tell you that the numbers are pseudo-random and that you need to use the Seed
function to initialize the default source if different behavior is required
for each run](https://golang.org/pkg/math/rand/), though. So if you write a
program like so:
```go
package main