mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-11 23:08:34 +08:00
@@ -83,8 +83,8 @@ func main() {
|
||||
fmt.Println("What to send to the server? Type Q to quit.")
|
||||
input, _ := inputReader.ReadString('\n')
|
||||
trimmedInput := strings.Trim(input, "\r\n")
|
||||
// fmt.Printf("input:--s%--", input)
|
||||
// fmt.Printf("trimmedInput:--s%--", trimmedInput)
|
||||
// fmt.Printf("input:--%s--", input)
|
||||
// fmt.Printf("trimmedInput:--%s--", trimmedInput)
|
||||
if trimmedInput == "Q" {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user