We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System (please complete the following information):
windows
1.19
v0.6.12
Describe the bug
Always get string like this: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjpp, 11111eeeeeeeeeeeeeeeeeeeeeeeeeee
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjpp
11111eeeeeeeeeeeeeeeeeeeeeeeeeee
To Reproduce Here is my code:
func TestRandStr(t *testing.T) { a := strutil.RandomCharsV2(32) t.Log(a) }
Screenshots
The text was updated successfully, but these errors were encountered:
hi @cos800 on my machine(macOS):
Sorry, something went wrong.
好像是在 Windows 下有问题,随机数出来的重复了。
我暂时也没找到解决办法。 rand 包好像在Windows下有BUG
可以看下我的提交#154
feat: 优化生成随机字符串 (#154)
778a092
see issues #121
inhere
No branches or pull requests
System (please complete the following information):
windows
1.19
v0.6.12
Describe the bug
Always get string like this:
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjpp
,11111eeeeeeeeeeeeeeeeeeeeeeeeeee
To Reproduce
Here is my code:
Screenshots
The text was updated successfully, but these errors were encountered: