add games operations

This commit is contained in:
2026-07-26 22:38:33 +07:00
parent cf32a6114f
commit 6fc19833d3
24 changed files with 2430 additions and 96 deletions
@@ -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))))