We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's assume the following function exceeds the maximum line-length
func foo(name1 string, name2 string, name3 bool, name4 []byte) (*[]byte, error) { return nil, nil }
golines will then reformat it to
func boo( name1 string, name2 string, name3 bool, name4 []byte, ) (*[]byte, error) { return nil, nil }
This suggests to me there should be at most 2 function signature styles
However, if we take something like this
func foo( name1 string, name2 string, name3 bool, name4 []byte ) (*[]byte, error) { return nil, nil }
or this
golines will not format the function signature. Is this expected behaviour or should it actually format it using the multi-line params approach?
The text was updated successfully, but these errors were encountered:
Good question!
Sorry, something went wrong.
No branches or pull requests
Let's assume the following function exceeds the maximum line-length
golines will then reformat it to
This suggests to me there should be at most 2 function signature styles
However, if we take something like this
or this
golines will not format the function signature. Is this expected behaviour or should it actually format it using the multi-line params approach?
The text was updated successfully, but these errors were encountered: