shad-go/lectures/00-intro/echo2.go
2020-02-13 14:45:11 +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)
}