initial commit 2
This commit is contained in:
11
data/data.go
Normal file
11
data/data.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
"bitbucket.org/nemt/nemt-portal-api/data/datamysql"
|
||||
"bitbucket.org/nemt/nemt-portal-api/domain/contract"
|
||||
"bitbucket.org/nemt/nemt-portal-api/infra/config"
|
||||
)
|
||||
|
||||
func Connect(cfg *config.Config) (contract.DataManager, error) {
|
||||
return datamysql.Instance(cfg)
|
||||
}
|
||||
Reference in New Issue
Block a user