Skip to content

Instantly share code, notes, and snippets.

@mattmc3
Created April 5, 2017 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmc3/c7a2f992759ad39e9850b7bd80da6d75 to your computer and use it in GitHub Desktop.
Save mattmc3/c7a2f992759ad39e9850b7bd80da6d75 to your computer and use it in GitHub Desktop.
Golang Hello World
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