package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 30, 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
¶
封装gorm.DB
GetDb return instance of database
func Init(userName, password, host, port, dbName string) *Db
InitDb init mysql database connection
Source Files
¶
Click to show internal directories.
Click to hide internal directories.