Created
October 25, 2016 23:40
-
-
Save bialikover/ee27fcde0e8905e1ecec4aca454bb59d to your computer and use it in GitHub Desktop.
readinput go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "bufio" | |
| "os" | |
| ) | |
| func main() { | |
| reader := bufio.NewReader(os.Stdin) | |
| input, _ := reader.ReadString('\n') | |
| fmt.Println("Hello, World.") | |
| fmt.Println(input) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment