@@ -250,7 +250,7 @@ type IssueListByRepoOptions struct {
250
250
// GitHub API docs: https://docs.github.com/rest/issues/issues#list-repository-issues
251
251
//
252
252
//meta:operation GET /repos/{owner}/{repo}/issues
253
- func (s * IssuesService ) ListByRepo (ctx context.Context , owner string , repo string , opts * IssueListByRepoOptions ) ([]* Issue , * Response , error ) {
253
+ func (s * IssuesService ) ListByRepo (ctx context.Context , owner , repo string , opts * IssueListByRepoOptions ) ([]* Issue , * Response , error ) {
254
254
u := fmt .Sprintf ("repos/%v/%v/issues" , owner , repo )
255
255
u , err := addOptions (u , opts )
256
256
if err != nil {
@@ -279,7 +279,7 @@ func (s *IssuesService) ListByRepo(ctx context.Context, owner string, repo strin
279
279
// GitHub API docs: https://docs.github.com/rest/issues/issues#get-an-issue
280
280
//
281
281
//meta:operation GET /repos/{owner}/{repo}/issues/{issue_number}
282
- func (s * IssuesService ) Get (ctx context.Context , owner string , repo string , number int ) (* Issue , * Response , error ) {
282
+ func (s * IssuesService ) Get (ctx context.Context , owner , repo string , number int ) (* Issue , * Response , error ) {
283
283
u := fmt .Sprintf ("repos/%v/%v/issues/%d" , owner , repo , number )
284
284
req , err := s .client .NewRequest ("GET" , u , nil )
285
285
if err != nil {
@@ -303,7 +303,7 @@ func (s *IssuesService) Get(ctx context.Context, owner string, repo string, numb
303
303
// GitHub API docs: https://docs.github.com/rest/issues/issues#create-an-issue
304
304
//
305
305
//meta:operation POST /repos/{owner}/{repo}/issues
306
- func (s * IssuesService ) Create (ctx context.Context , owner string , repo string , issue * IssueRequest ) (* Issue , * Response , error ) {
306
+ func (s * IssuesService ) Create (ctx context.Context , owner , repo string , issue * IssueRequest ) (* Issue , * Response , error ) {
307
307
u := fmt .Sprintf ("repos/%v/%v/issues" , owner , repo )
308
308
req , err := s .client .NewRequest ("POST" , u , issue )
309
309
if err != nil {
@@ -324,7 +324,7 @@ func (s *IssuesService) Create(ctx context.Context, owner string, repo string, i
324
324
// GitHub API docs: https://docs.github.com/rest/issues/issues#update-an-issue
325
325
//
326
326
//meta:operation PATCH /repos/{owner}/{repo}/issues/{issue_number}
327
- func (s * IssuesService ) Edit (ctx context.Context , owner string , repo string , number int , issue * IssueRequest ) (* Issue , * Response , error ) {
327
+ func (s * IssuesService ) Edit (ctx context.Context , owner , repo string , number int , issue * IssueRequest ) (* Issue , * Response , error ) {
328
328
u := fmt .Sprintf ("repos/%v/%v/issues/%d" , owner , repo , number )
329
329
req , err := s .client .NewRequest ("PATCH" , u , issue )
330
330
if err != nil {
@@ -379,7 +379,7 @@ type LockIssueOptions struct {
379
379
// GitHub API docs: https://docs.github.com/rest/issues/issues#lock-an-issue
380
380
//
381
381
//meta:operation PUT /repos/{owner}/{repo}/issues/{issue_number}/lock
382
- func (s * IssuesService ) Lock (ctx context.Context , owner string , repo string , number int , opts * LockIssueOptions ) (* Response , error ) {
382
+ func (s * IssuesService ) Lock (ctx context.Context , owner , repo string , number int , opts * LockIssueOptions ) (* Response , error ) {
383
383
u := fmt .Sprintf ("repos/%v/%v/issues/%d/lock" , owner , repo , number )
384
384
req , err := s .client .NewRequest ("PUT" , u , opts )
385
385
if err != nil {
@@ -394,7 +394,7 @@ func (s *IssuesService) Lock(ctx context.Context, owner string, repo string, num
394
394
// GitHub API docs: https://docs.github.com/rest/issues/issues#unlock-an-issue
395
395
//
396
396
//meta:operation DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock
397
- func (s * IssuesService ) Unlock (ctx context.Context , owner string , repo string , number int ) (* Response , error ) {
397
+ func (s * IssuesService ) Unlock (ctx context.Context , owner , repo string , number int ) (* Response , error ) {
398
398
u := fmt .Sprintf ("repos/%v/%v/issues/%d/lock" , owner , repo , number )
399
399
req , err := s .client .NewRequest ("DELETE" , u , nil )
400
400
if err != nil {
0 commit comments