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

15 lines
166 B
Go

package main
import (
"fmt"
"os"
)
func main() {
var s, sep string
for i := 1; i < len(os.Args); i++ {
s += sep + os.Args[i]
sep = " "
}
fmt.Println(s)
}