Nome do programa Go

pr, _ := os.Executable()
fmt.Printf(" %s\n", pr)
// alternative
fmt.Printf(" %s\n", os.Args[0])
Mackerel