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

Method UserAgent

github/github.go:688–690  ·  view source on GitHub ↗

UserAgent returns the User-Agent header value for the client.

()

Source from the content-addressed store, hash-verified

686
687// UserAgent returns the User-Agent header value for the client.
688func (c *Client) UserAgent() string {
689 return c.userAgent
690}
691
692// BaseURL returns the base URL for API requests.
693func (c *Client) BaseURL() string {

Callers 1

TestClient_UserAgentFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestClient_UserAgentFunction · 0.64