Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@KawaiDesu
Created November 9, 2017 08:50
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 KawaiDesu/942b0f04d5f11862595609a555ff2b37 to your computer and use it in GitHub Desktop.
Save KawaiDesu/942b0f04d5f11862595609a555ff2b37 to your computer and use it in GitHub Desktop.
Valid shebang for go source files to run them as executable files (scripts)
///usr/bin/env go run "$0" "$@"; exit "$?"
package main
func main(){
println("hello")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment