Fix main.go menu
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user