Created
July 11, 2017 19:03
-
-
Save shatgupt/7a643ae0803516db1e765187049a7ae1 to your computer and use it in GitHub Desktop.
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 "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