Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OpenBrowser (0.14 sec)

  1. src/cmd/go/internal/bug/bug.go

    	printEnvDetails(&buf)
    	buf.WriteString(bugFooter)
    
    	body := buf.String()
    	url := "https://github.com/golang/go/issues/new?body=" + urlpkg.QueryEscape(body)
    	if !web.OpenBrowser(url) {
    		fmt.Print("Please file a new issue at golang.org/issue/new using this template:\n\n")
    		fmt.Print(body)
    	}
    }
    
    const bugHeader = `<!-- Please answer these questions before submitting your issue. Thanks! -->
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/web/http.go

    		return nil, err
    	}
    
    	return &Response{
    		URL:        u.Redacted(),
    		Status:     http.StatusText(http.StatusOK),
    		StatusCode: http.StatusOK,
    		Body:       f,
    	}, nil
    }
    
    func openBrowser(url string) bool { return browser.Open(url) }
    
    func isLocalHost(u *urlpkg.URL) bool {
    	// VCSTestRepoURL itself is secure, and it may redirect requests to other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top