@@ -250,7 +250,7 @@ type IssueListByRepoOptions struct {
250250// GitHub API docs: https://docs.github.com/rest/issues/issues#list-repository-issues
251251//
252252//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 ) {
254254 u := fmt .Sprintf ("repos/%v/%v/issues" , owner , repo )
255255 u , err := addOptions (u , opts )
256256 if err != nil {
@@ -279,7 +279,7 @@ func (s *IssuesService) ListByRepo(ctx context.Context, owner string, repo strin
279279// GitHub API docs: https://docs.github.com/rest/issues/issues#get-an-issue
280280//
281281//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 ) {
283283 u := fmt .Sprintf ("repos/%v/%v/issues/%d" , owner , repo , number )
284284 req , err := s .client .NewRequest ("GET" , u , nil )
285285 if err != nil {
@@ -303,7 +303,7 @@ func (s *IssuesService) Get(ctx context.Context, owner string, repo string, numb
303303// GitHub API docs: https://docs.github.com/rest/issues/issues#create-an-issue
304304//
305305//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 ) {
307307 u := fmt .Sprintf ("repos/%v/%v/issues" , owner , repo )
308308 req , err := s .client .NewRequest ("POST" , u , issue )
309309 if err != nil {
@@ -324,7 +324,7 @@ func (s *IssuesService) Create(ctx context.Context, owner string, repo string, i
324324// GitHub API docs: https://docs.github.com/rest/issues/issues#update-an-issue
325325//
326326//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 ) {
328328 u := fmt .Sprintf ("repos/%v/%v/issues/%d" , owner , repo , number )
329329 req , err := s .client .NewRequest ("PATCH" , u , issue )
330330 if err != nil {
@@ -379,7 +379,7 @@ type LockIssueOptions struct {
379379// GitHub API docs: https://docs.github.com/rest/issues/issues#lock-an-issue
380380//
381381//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 ) {
383383 u := fmt .Sprintf ("repos/%v/%v/issues/%d/lock" , owner , repo , number )
384384 req , err := s .client .NewRequest ("PUT" , u , opts )
385385 if err != nil {
@@ -394,7 +394,7 @@ func (s *IssuesService) Lock(ctx context.Context, owner string, repo string, num
394394// GitHub API docs: https://docs.github.com/rest/issues/issues#unlock-an-issue
395395//
396396//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 ) {
398398 u := fmt .Sprintf ("repos/%v/%v/issues/%d/lock" , owner , repo , number )
399399 req , err := s .client .NewRequest ("DELETE" , u , nil )
400400 if err != nil {
0 commit comments