Start refactoring

This commit is contained in:
Aurélie Delhaie
2023-05-29 17:44:50 +02:00
parent 55ac50f3be
commit c06843cd28
31 changed files with 1125 additions and 1267 deletions

View File

@@ -0,0 +1,12 @@
package datasource
import (
"gorm.io/gorm"
)
type (
Datasource interface {
Connect(dsn string) error
DB() *gorm.DB
}
)