getuserinput

package
v1.0.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SearchLogFile = "SearchLogs/user_input.txt"

Variables

This section is empty.

Functions

func GetFirstArg

func GetFirstArg() bool

func GetUserForBrowser

func GetUserForBrowser(userInput string) bool

func GetUserInput

func GetUserInput(GetBoleanFromGetFirstArgFunction bool)

after ensure user dont wrote arg more than one like -h or --help get user input in this condition

func GetUserInputSendChannel

func GetUserInputSendChannel(FinalInput string, MyChann1 chan<- features.DataBase)

func IfUserInputIsEmpty added in v1.0.38

func IfUserInputIsEmpty(FinalInput string) bool

func IfUserInputIsJustNumber added in v1.0.32

func IfUserInputIsJustNumber(userInput string) bool

func IfUserWantSingleDefinition

func IfUserWantSingleDefinition(FinalInput string) bool

func IfUserisCLEAR

func IfUserisCLEAR(FinalInput string) bool

func IfUserisHELP

func IfUserisHELP(FinalInput string) bool

func IfUsris2orMoreWords

func IfUsris2orMoreWords(SliceOfWords []string) bool

func IfUsrisALL

func IfUsrisALL(FinalInput string) bool

func IfUsrisEXIT

func IfUsrisEXIT(FinalInput string) bool

func PrintNotAddYet

func PrintNotAddYet(FinalInput string)

func SaveToFile added in v1.0.38

func SaveToFile(sentence string) error

func SaveUserInputInFileTXT added in v1.0.38

func SaveUserInputInFileTXT(FinalInput string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL