]> git.giacomolli.uk - onechat/commit
Separate returns from longer statement blocks
authorAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:03:33 +0000 (18:03 -0300)
committerAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:28:42 +0000 (18:28 -0300)
commita3b9849a54a6cd8a4cc5b1ae03a39aab31322f7b
tree088b1cc933c465da90de4c57d5871095a36ebce5
parentd9fddc0f506eb4ead7049f5638674b2b8773fcaa
Separate returns from longer statement blocks

Nlreturn checks spacing before returns and branch statements. Its short-
block allowance keeps a declaration with its immediate use, as the Go
rules require. Longer blocks have an empty line before they return or
continue.
.golangci.yml
whatsapp.go
whatsapp_fake_helper_test.go
whatsapp_import.go