This commit is contained in:
nquidox 2026-02-23 20:02:17 +03:00
parent 781d525d72
commit 8c38107ff2
5 changed files with 86 additions and 0 deletions

View 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,
}
}