Get the current process (executable) name in Go?

The traditional argv[0] in C is available in os.Args[0] in Go. The flags package simply processes the slice os.Args[1:]

Leave a Comment