0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 23:11:05 +01:00
gitea/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