add games

This commit is contained in:
2026-07-28 00:02:11 +07:00
parent 10b3d450e9
commit 65763a3e10
3 changed files with 9 additions and 1 deletions
@@ -20,7 +20,6 @@ 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))))