14 lines
193 B
Go
14 lines
193 B
Go
package gateway
|
|
|
|
import (
|
|
"bufio"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func readStdin(message string) string {
|
|
fmt.Println(message)
|
|
scanner := bufio.NewScanner(os.Stdin)
|
|
scanner.Scan()
|
|
return scanner.Text()
|
|
}
|