Skip to content

running go fix for the code - #98

Merged
Farokhcpu merged 1 commit into
mainfrom
go-fix-2026-08-25
Aug 25, 2026
Merged

running go fix for the code#98
Farokhcpu merged 1 commit into
mainfrom
go-fix-2026-08-25

Conversation

@Farokhcpu

Copy link
Copy Markdown
Contributor

go fix ./...

@Farokhcpu
Farokhcpu merged commit 88f182b into main Aug 25, 2026
1 check passed
@Farokhcpu
Farokhcpu deleted the go-fix-2026-08-25 branch August 25, 2026 09:04
@Farokhcpu
Farokhcpu requested review from dtitov and a lite review from Copilot August 25, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the codebase according to go fix ./..., modernizing Go type usage and adopting newer standard-library helpers to simplify common patterns.

Changes:

  • Replaced interface{} with any across public/internal DB/test helper interfaces and query utilities.
  • Updated migration splitting to use strings.SplitSeq to iterate over migration segments without allocating a full slice.
  • Simplified tag matching logic using slices.Contains.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sqltest/querydump.go Migrates loosely-typed row/query helpers from interface{} to any and minor loop cleanup.
sqltest/intf.go Updates CtxExecer/CtxQuerier signatures to ...any for modern Go typing.
sqltest/fixture.go Uses strings.SplitSeq for iterating migration chunks.
sqlparser/parser.go Uses slices.Contains to simplify include-tag matching.
dbintf.go Updates the main DB interface method varargs from interface{} to any.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants