chore: Rename 'opt' to 'opts' in multiple methods by alexandear · Pull Request #3887 · google/go-github
This PR standardizes parameter naming from opt to opts in multiple service methods. Renaming function parameters does not break compatibility, so this change is safe.
opts is more commonly used throughout the repository:
❯ grep -r 'opt \*' --include='*.go' --exclude-dir=testdata . | wc -l 7 ❯ grep -r 'opts \*' --include='*.go' --exclude-dir=testdata . | wc -l 321