Debian Codegraph @

tools/metadata/testdata/golden/TestUpdateGo/valid/github/a.go

raw
1 package github
2
3 type AService struct{}
4
5 // Get gets an A
6 //
7 // GitHub API docs: https://docs.github.com/rest/a/a#overridden-get-a
8 //
9 //meta:operation GET /a/{a_id}
10 func (s *AService) Get() {}
11
12 // Undocumented uses an undocumented operation
13 //
14 // Note: Undocumented uses the undocumented GitHub API endpoint "GET /undocumented/{undocumented_id}".
15 //
16 //meta:operation GET /undocumented/{undocumented_id}
17 func (s *AService) Undocumented() {}
18
19 // OutdatedLinks has links that are outdated or wrong
20 //
21 // GitHub API docs: https://docs.github.com/rest/a/a#update-a
22 //
23 //meta:operation POST /a/{a_id}
24 func (s *AService) OutdatedLinks() {}
25
26 // GitHub API docs: https://docs.github.com/rest/a/a#overridden-get-a
27 //
28 //meta:operation GET /a/{a_id}
29 func (s *AService) Uncommented() {}
30
31 func (s *AService) unexported() {}
32
33 func NotAMethod() {}
34
35 type internalService struct{}
36
37 func (i *internalService) Get() {}