Skip to content

Instantly share code, notes, and snippets.

@iporsut
Created June 8, 2011 11:46
Show Gist options
  • Save iporsut/1014274 to your computer and use it in GitHub Desktop.
Save iporsut/1014274 to your computer and use it in GitHub Desktop.
echo by go
package main
import ("fmt"; "os")
func main() {
for i := 1; i < len(os.Args); i++ {
if i > 1 {
fmt.Print(" ")
}
fmt.Print(os.Args[i])
}
fmt.Print("\n")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment