package main import "os" func cmd(c string) { switch c { case "OFF", "off": os.Exit(0) } }