mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
docs: add formatting rule for function calls.
This commit is contained in:
parent
7c09cc3326
commit
58a5dcd502
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue