MCPcopy Index your code
hub / github.com/MengMengCode/GetRealityDomain / getStringInput

Function getStringInput

main.go:520–524  ·  view source on GitHub ↗

获取字符串输入

()

Source from the content-addressed store, hash-verified

518
519// 获取字符串输入
520func getStringInput() string {
521 reader := bufio.NewReader(os.Stdin)
522 input, _ := reader.ReadString('\n')
523 return strings.TrimSpace(input)
524}
525
526// 暂停等待用户按键
527func pause() {

Callers 3

mainFunction · 0.85
askYesNoFunction · 0.85
showResultsPaginatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected