package
Version:
v0.0.0-...-8ffee41
Opens a new window with list of versions in this module.
Published: Oct 26, 2026
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Database 创建基于 sqlmock 的数据库测试环境
返回带有 mock 数据库的 context,业务代码通过 db.Ctx(ctx) 自动使用 mock 实例
Source Files
¶
Click to show internal directories.
Click to hide internal directories.