Created
April 5, 2017 23:55
-
-
Save mattmc3/c7a2f992759ad39e9850b7bd80da6d75 to your computer and use it in GitHub Desktop.
Golang Hello World
This file contains 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" | |
"log" | |
) | |
func check(err error) { | |
if err != nil { | |
log.Fatal(err) | |
} | |
} | |
func main() { | |
fmt.Println("Hello, world!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment