Skip to content

Conversation

@winebarrel
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 19, 2026 07:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the New and New2 functions to accept the iface.DB interface instead of the concrete *sql.DB type, enabling better dependency injection and testability through interface-based design.

Changes:

  • Updated function signatures of New and New2 to accept iface.DB interface parameter
  • Replaced database/sql import with github.com/winebarrel/dbtyp/iface package

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@winebarrel winebarrel merged commit f7b4858 into main Jan 19, 2026
8 checks passed
@winebarrel winebarrel deleted the fix_New_if branch January 19, 2026 07:21
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