package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 1, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package db provide useful functions to create mysql instance.
NewMySQL 使用给定的选项创建一个新的 gorm 数据库实例.
MySQLOptions 定义 MySQL 数据库的选项.
DSN 从 MySQLOptions 返回 DSN.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.