]> git.giacomolli.uk - onechat/commit
Check spacing between Go statement blocks
authorAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:14:59 +0000 (18:14 -0300)
committerAnderson A. Giacomolli <redacted>
Mon, 9 Nov 2026 21:28:47 +0000 (18:28 -0300)
commit522d7fd117285e4e4ce3ea5ec9b5a1722521b681
tree4888e95ca0911f5ffbf04e3cdec05bcdd7a9dcc5
parenta3b9849a54a6cd8a4cc5b1ae03a39aab31322f7b
Check spacing between Go statement blocks

Wsl v5 checks empty lines around blocks and multiline declarations and
calls. Spacing keeps immediate error checks and short declarations with
their uses. Checks that split those groups are off because they conflict
with the Go rule. The cleanup changes only spacing and groups of
variable declarations.
73 files changed:
.golangci.yml
agent.go
agent_test.go
build_queue.go
build_queue_test.go
build_run.go
build_run_test.go
chain.go
chain_test.go
chatgpt.go
chatgpt_fake_helper_test.go
chatgpt_test.go
compactor.go
compactor_test.go
config.go
daemon.go
daemon_test.go
datadir.go
journal.go
log.go
log_test.go
main.go
memory.go
memory_test.go
model.go
model_fake_helper_test.go
model_test.go
probe.go
probe_log_helper_test.go
probe_test.go
prompt_test.go
rebuild.go
rebuild_test.go
replay_test.go
schedule.go
schedule_cron.go
schedule_test.go
subagent.go
subagent_run.go
subagent_run_test.go
subagent_test.go
summarizer_helper_test.go
syncer.go
syncer_test.go
telegram.go
telegram_api.go
telegram_api_test.go
telegram_fake_helper_test.go
telegram_markdown.go
telegram_test.go
terminal.go
tools.go
tools_test.go
tree.go
tree_test.go
turn.go
turn_test.go
view.go
view_layout.go
view_test.go
whatsapp.go
whatsapp_fake_helper_test.go
whatsapp_find.go
whatsapp_find_test.go
whatsapp_groups.go
whatsapp_import.go
whatsapp_import_test.go
whatsapp_inbox.go
whatsapp_inbox_test.go
whatsapp_send_test.go
whatsapp_state.go
whatsapp_state_test.go
whatsapp_test.go