Files
isp-config-service/repository/module.go
T
2024-05-03 17:46:22 +03:00

23 lines
285 B
Go

package repository
import (
"context"
"github.com/txix-open/isp-kit/db"
"isp-config-service/entity"
)
type Module struct {
db db.DB
}
func NewModule(db db.DB) Module {
return Module{
db: db,
}
}
func (r Module) Upsert(ctx context.Context, module entity.Module) error {
}