mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-07 01:00:34 +07:00
feat: delete deprecated input
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"nto_cli/utils"
|
||||
"os"
|
||||
@@ -9,13 +8,6 @@ import (
|
||||
"github.com/rivo/tview"
|
||||
)
|
||||
|
||||
func Input() (string, string) {
|
||||
fmt.Print("struct name, path to file (including struct): ")
|
||||
var structName, path string
|
||||
fmt.Scan(&structName, &path)
|
||||
return structName, path
|
||||
}
|
||||
|
||||
func SelectionInput() ([]string, string) {
|
||||
if len(os.Args) == 1 {
|
||||
log.Fatalf("Please provide path to models.go")
|
||||
|
||||
Reference in New Issue
Block a user