Add gRPC server implementation and database integration for marketplace and products
This commit is contained in:
8
internal/marketplace/repository.go
Normal file
8
internal/marketplace/repository.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package marketplace
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
// GetMarketplaceByID retrieves a marketplace by its ID.
|
||||
GetMarketplaceByID(ctx context.Context, id int) (*Marketplace, error)
|
||||
}
|
||||
Reference in New Issue
Block a user