aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/errors_example_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-13 22:05:30 +0700
committerShulhan <ms@kilabit.info>2023-09-13 23:17:40 +0700
commit435bb123ad81c9f38791df6c03006e6ddbcbc70d (patch)
treeba94bec40c92ed3cf4ee3fa7eb61bf939b4fa712 /lib/errors/errors_example_test.go
parentdef105e93b21c3acd8e746dde1e43f69059b02ed (diff)
downloadpakakeh.go-435bb123ad81c9f38791df6c03006e6ddbcbc70d.tar.xz
lib/ascii: replace package "math/rand" with "crypto/rand"
Since Go 1.20 the "math/rand.Seed" is considered deprecated (the initial value of rand is seeded automatically, not zero). Now, it is the time to replace "math/rand" with more secure random number generator, from "crypto/rand". This changes affect tests in package "lib/email", "lib/http", and "lib/stmp".
Diffstat (limited to 'lib/errors/errors_example_test.go')
0 files changed, 0 insertions, 0 deletions