generated from VLADIMIR/template
add games operations
This commit is contained in:
@@ -20,6 +20,7 @@ func NewGenerator(length int) IPasswordGenerator {
|
||||
}
|
||||
|
||||
func (g *generator) Generate() (string, error) {
|
||||
return "1", nil
|
||||
password := make([]byte, g.length)
|
||||
for i := range password {
|
||||
num, err := rand.Int(rand.Reader, big.NewInt(int64(len(charset))))
|
||||
|
||||
Reference in New Issue
Block a user