Skip to content

Instantly share code, notes, and snippets.

@shatgupt
Created July 11, 2017 19:03
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 shatgupt/7a643ae0803516db1e765187049a7ae1 to your computer and use it in GitHub Desktop.
Save shatgupt/7a643ae0803516db1e765187049a7ae1 to your computer and use it in GitHub Desktop.
package main
import "os"
import "fmt"
import "strings"
func main() {
fmt.Println("Hello World from Go!")
args := os.Args[1:]
fmt.Println(fmt.Sprintf("%v Args: [%v]", len(args), strings.Join(args, ", ")))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment