19 lines
296 B
Go
19 lines
296 B
Go
package driverrepo
|
|
|
|
import (
|
|
"go-udemy-web-1/internal/repository"
|
|
)
|
|
|
|
type (
|
|
sqlDriverRepo struct{}
|
|
sqlcDriverRepo struct{}
|
|
)
|
|
|
|
func NewSqlRepo() repository.DatabaseDriverRepo {
|
|
return &sqlDriverRepo{}
|
|
}
|
|
|
|
// func NewSqlcRepo() repository.DatabaseDriverRepo {
|
|
// return &sqlcDriverRepo{}
|
|
// }
|