init project
This commit is contained in:
15
providers/mysql/mysql.go
Normal file
15
providers/mysql/mysql.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package mysql
|
||||
|
||||
import (
|
||||
"app/container"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
func init() {
|
||||
container.Container.Provide(NewMysqlConnection)
|
||||
}
|
||||
|
||||
func NewMysqlConnection() (*gorm.DB, error) {
|
||||
return nil, nil
|
||||
}
|
||||
Reference in New Issue
Block a user