diff --git a/internal/service/checkout/service.go b/internal/service/checkout/service.go new file mode 100644 index 0000000..c8c2db2 --- /dev/null +++ b/internal/service/checkout/service.go @@ -0,0 +1,14 @@ +package checkout + +import "context" + +type CheckoutService struct{} + +func NewCheckoutService() *CheckoutService { + return &CheckoutService{} +} + +func (s *CheckoutService) Checkout(ctx context.Context, cartID string) error { + // Do some business logic + return nil +}