docs: add formatting rule for function calls.

This commit is contained in:
ziggie 2023-11-20 19:55:56 +01:00
parent 7c09cc3326
commit 58a5dcd502
No known key found for this signature in database
GPG key ID: 1AFF9C4DCED6D666

View file

@ -203,6 +203,9 @@ func foo(a, b,
func baz(a, b, c) (d,
error) {
func longFunctionName(
a, b, c) (d, error) {
```
If a function declaration spans multiple lines the body should start with an