MCPcopy Index your code
hub / github.com/google/go-github / BaseURL

Method BaseURL

github/github.go:693–698  ·  view source on GitHub ↗

BaseURL returns the base URL for API requests.

()

Source from the content-addressed store, hash-verified

691
692// BaseURL returns the base URL for API requests.
693func (c *Client) BaseURL() string {
694 if c.baseURL == nil {
695 return ""
696 }
697 return c.baseURL.String()
698}
699
700// UploadURL returns the base URL for upload API requests.
701func (c *Client) UploadURL() string {

Callers 1

TestClient_BaseURLFunction · 0.80

Calls 1

StringMethod · 0.45

Tested by 1

TestClient_BaseURLFunction · 0.64