Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/modules/base
Denis Denisov 380e32e129 Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
2016-12-20 13:32:02 +01:00
..
base.go golint fixed for modules/base 2016-11-24 15:17:44 +08:00
tool.go Fix random string generator (#384) 2016-12-20 13:32:02 +01:00
tool_test.go Fix random string generator (#384) 2016-12-20 13:32:02 +01:00