golang中一种不常见的switch语句写法
func(s *systemd) Status (Status,error) {exitCode, out, err := s.runWithOutput("systemctl","is-active", s.unitName)if exitCode ==0
func(s *systemd) Status (Status,error) {exitCode, out, err := s.runWithOutput("systemctl","is-active", s.unitName)if exitCode ==0