docs: add formatting rule for function calls.

This commit is contained in:
ziggie committed 2023-12-12 14:18:17 +01:00
1 parent 7c09cc3326
commit 58a5dcd502
1 file changed
+3
+3
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