Fix main.go menu

This commit is contained in:
Archie Fox
2025-03-14 18:33:16 +03:00
parent 6da4edff07
commit 3d40ede06d
3 changed files with 33 additions and 32 deletions

View File

@@ -2,7 +2,6 @@ package account
import (
"errors"
"fmt"
"github.com/fatih/color"
"math/rand/v2"
"net/url"
@@ -55,11 +54,3 @@ func NewAccount(login, password, urlString string) (*Account, error) {
}
return newAcc, nil
}
// функция введения данных
func PromptData(prompt string) string {
fmt.Print(prompt)
var res string
fmt.Scanln(&res)
return res
}