From c6b5a0c7f174c6a0ba233a1356aca5c370ba4315 Mon Sep 17 00:00:00 2001 From: Phodal HUANG Date: Tue, 22 Oct 2019 23:06:04 +0800 Subject: [PATCH] learn: add hello world --- helloworld.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 helloworld.go diff --git a/helloworld.go b/helloworld.go new file mode 100644 index 0000000..d422f35 --- /dev/null +++ b/helloworld.go @@ -0,0 +1,11 @@ +package main + +import ( + "fmt" + "strings" + "os" +) + +func main() { + fmt.Println(strings.Join(os.Args[1:], " ")) +} -- GitLab