refactor!: Change `GitService` methods to pass required params by-value instead of by-ref by rupokghosh · Pull Request #3654 · google/go-github

@rupokghosh marked this pull request as ready for review

July 27, 2025 21:32

@gmlewis gmlewis changed the title refactor: convert required pointer params to values refactor: Change required params from pointers to values

Jul 27, 2025

alexandear

alexandear

@gmlewis gmlewis added the Breaking API Change

PR will require a bump to the major version num in next release. Look here to see the change(s).

label

Jul 31, 2025

@gmlewis gmlewis changed the title refactor: Change required params from pointers to values refactor!: Change required params from pointers to values

Jul 31, 2025

@gmlewis gmlewis changed the title refactor!: Change required params from pointers to values refactor!: Change GitService endpoints to pass required params by-value instead of by-ref

Aug 4, 2025

@gmlewis gmlewis changed the title refactor!: Change GitService endpoints to pass required params by-value instead of by-ref refactor!: Change GitService methods to pass required params by-value instead of by-ref

Aug 4, 2025

alexandear

alexandear

@rupokghosh

update exmaples

change to using values

refactor(git)!: improve CreateRef API with value types and exported struct

format

new updateref struct

remove backwards compatibility

create tag in git tags

slfhg