initial
This commit is contained in:
parent
781d525d72
commit
8c38107ff2
5 changed files with 86 additions and 0 deletions
15
internal/merch/repository.go
Normal file
15
internal/merch/repository.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package merch
|
||||
|
||||
import "database/sql"
|
||||
|
||||
type Repository interface{}
|
||||
|
||||
type repo struct {
|
||||
db *sql.DB
|
||||
}
|
||||
|
||||
func newRepo(db *sql.DB) Repository {
|
||||
return repo{
|
||||
db: db,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue