Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go: Put parameters on separate lines for API methods #1630

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

svix-jplatte
Copy link
Member

… to reduce the diff of the upcoming codegen PR.

Seems like gofmt just doesn't care about how long function signatures are (no line limit at all???), how many parameters are on one line, whether the closing parenthesis is on a new line or not, or whether there are empty lines between the parameters. This was a true chore.

… to reduce the diff of the upcoming codegen PR.
@svix-jplatte svix-jplatte requested a review from a team as a code owner January 10, 2025 12:25
@svix-jplatte svix-jplatte merged commit 9cb0465 into main Jan 10, 2025
8 checks passed
@svix-jplatte svix-jplatte deleted the jplatte/go-fmt branch January 10, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants