On Fri, 18 Dec 2020, at 4:18 PM, Sean wrote: > My previous reply was sent to Ian. Sorry. > The point I don't understand is "os.Args". > I think the parameter here is the name of my program. So like "program.exe". >
Args is a variable in the os package. Go ensures that the the first element contains the name of the program. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6e4cde79-8729-4cf7-b144-afc259b19e6e%40www.fastmail.com.