chore: Replace http.Method* constants with string literals by jferrl · Pull Request #3696 · google/go-github
Updated all usages of http.Method* constants to use string literals for HTTP methods (e.g., "GET", "POST", etc.) throughout the codebase. Added forbidigo linter to enforce this rule and updated .golangci.yml accordingly. This change aligns with new linting requirements and ensures consistency in HTTP method usage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters