How to pass arguments to Go program?
Posted
by oraz
on Stack Overflow
See other posts from Stack Overflow
or by oraz
Published on 2010-04-25T06:55:27Z
Indexed on
2010/04/25
7:03 UTC
Read the original article
Hit count: 238
go
I can't see arguments for main() in package main.
How to pass arguments from command line in Go?
A complete program, possibly created by linking multiple packages, must have one package called main, with a function func main() { ... } defined. The function main.main() takes no arguments and returns no value.
© Stack Overflow or respective owner