Skip to content

Instantly share code, notes, and snippets.

@cfstras
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save cfstras/4a198eae929fd37a4b28 to your computer and use it in GitHub Desktop.

Select an option

Save cfstras/4a198eae929fd37a4b28 to your computer and use it in GitHub Desktop.
Go working shebang (go needs to be in $PATH, File needs to be named *.go)
//usr/bin/env go run $0 $@ ; exit
package main
import "fmt"
func main() {
fmt.Println("Hello, Go!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment