I thought rand in Go is auto-seeded but I was wrong, see [1]. This commit adds seed initialization. [1]: https://golang.org/pkg/math/rand/#Seed Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| openapi.gen.go | ||
| openapi.yml | ||
| server.go | ||
I thought rand in Go is auto-seeded but I was wrong, see [1]. This commit adds seed initialization. [1]: https://golang.org/pkg/math/rand/#Seed Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| openapi.gen.go | ||
| openapi.yml | ||
| server.go | ||