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

Method Get

github/meta.go:120–133  ·  view source on GitHub ↗

Get returns information about GitHub.com, the service. Or, if you access this endpoint on your organization’s GitHub Enterprise installation, this endpoint provides information about that installation. GitHub API docs: https://docs.github.com/rest/meta/meta?apiVersion=2022-11-28#get-github-meta-inf

(ctx context.Context)

Source from the content-addressed store, hash-verified

118//
119//meta:operation GET /meta
120func (s *MetaService) Get(ctx context.Context) (*APIMeta, *Response, error) {
121 req, err := s.client.NewRequest(ctx, "GET", "meta", nil)
122 if err != nil {
123 return nil, nil, err
124 }
125
126 var meta *APIMeta
127 resp, err := s.client.Do(req, &meta)
128 if err != nil {
129 return nil, resp, err
130 }
131
132 return meta, resp, nil
133}
134
135// APIMeta returns information about GitHub.com.
136//

Callers 15

addUserSecretFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
fetchAndSubmitFormFunction · 0.45
getMethod · 0.45
TestRateLimitsFunction · 0.45
TestRateLimits_coverageFunction · 0.45
TestRateLimits_overQuotaFunction · 0.45

Calls 2

NewRequestMethod · 0.80
DoMethod · 0.45