We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
README文件
crypto/rand
golang
goroutine
channel
使用方法:
hashGen := &HashGenerator{ hashGetter: make(chan string), length: 8, } hashGen.init() hashGen.Get()
把以上代码加载上就可以获得随机字符串。
详细的使用方法可以参考单元测试文件。