var err error
switch runtime.GOOS {
case "linux":
err = exec.Command("xdg-open", s).Start()
case "windows":
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", s).Start()
case "darwin":
err = exec.Command("open", s).Start()
default:
err = fmt.Errorf("unsupported platform")
}
b := err == nil