Skip to content

Style/gofmt cleanup#120

Merged
hung12ct merged 5 commits into
mainfrom
style/gofmt-cleanup
May 31, 2026
Merged

Style/gofmt cleanup#120
hung12ct merged 5 commits into
mainfrom
style/gofmt-cleanup

Conversation

@hung12ct
Copy link
Copy Markdown
Owner

No description provided.

hung12ct added 5 commits May 31, 2026 18:20
Whitespace-only: struct-field realignment and trailing-newline trim on
the two files touched this session. No logic change.
Formatting only (alignment, line-grouping, blank lines) — no logic
change; full suite green. Excludes sql_validate.go, handled separately.
The comment documented SQL's '' and backtick-doubling escapes literally;
gofmt's TeX-style quote substitution would rewrite those pairs into curly
quotes and corrupt the meaning. Reword to describe the escape without the
trigger pairs, keeping the file gofmt-clean.
errcheck excludes conventional no-action calls (Close, fmt.Fprint*,
os.Remove cleanup, deferred SDK stream Close) and skips test setup;
issue caps lifted so repeats are not silently hidden.
Remove dead fields/const/func (unused) and apply staticcheck quickfixes
(De Morgan, tagged switch, merged assignment, string conversion). No
behavior change; full suite green.
@hung12ct hung12ct merged commit 4a728cc into main May 31, 2026
1 check passed
@hung12ct hung12ct deleted the style/gofmt-cleanup branch May 31, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant