shad-go/lectures/00-intro/echo2/echo2.go
Fedor Korotkiy c989b9f92e Fix lecture
2020-02-13 14:54:17 +03:00

15 lines
156 B
Go

package main
import (
"fmt"
"os"
)
func main() {
s, sep := "", ""
for _, arg := range os.Args[1:] {
s += sep + arg
sep = " "
}
fmt.Println(s)
}