diff --git a/cart/application/cartCache.go b/cart/application/cartCache.go index 41f51639c..a11cf4f26 100644 --- a/cart/application/cartCache.go +++ b/cart/application/cartCache.go @@ -16,7 +16,7 @@ import ( "flamingo.me/flamingo/v3/framework/web" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CartCache --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CartCache --case snake type ( // CartCache describes a cart caches methods diff --git a/cart/application/eventHandling.go b/cart/application/eventHandling.go index f832377b8..1459b77ac 100644 --- a/cart/application/eventHandling.go +++ b/cart/application/eventHandling.go @@ -13,7 +13,7 @@ import ( cartDomain "flamingo.me/flamingo-commerce/v3/cart/domain/cart" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CartMerger --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CartMerger --case snake type ( // EventReceiver handles events from other packages diff --git a/cart/application/receiver.go b/cart/application/receiver.go index 1e7771b20..d37031eb1 100644 --- a/cart/application/receiver.go +++ b/cart/application/receiver.go @@ -1,6 +1,6 @@ package application -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name Receiver --case snake --structname CartReceiver +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name Receiver --case snake --structname CartReceiver import ( "context" diff --git a/cart/application/service.go b/cart/application/service.go index c094a7a65..e1e4cb2e3 100644 --- a/cart/application/service.go +++ b/cart/application/service.go @@ -1,6 +1,6 @@ package application -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name Service --case snake --structname CartService +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name Service --case snake --structname CartService import ( "context" diff --git a/cart/domain/cart/cartServicePorts.go b/cart/domain/cart/cartServicePorts.go index 3d9d203d1..cd7dc960f 100644 --- a/cart/domain/cart/cartServicePorts.go +++ b/cart/domain/cart/cartServicePorts.go @@ -1,11 +1,11 @@ package cart -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CompleteBehaviour --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CustomerCartService --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name GiftCardAndVoucherBehaviour --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name GiftCardBehaviour --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name GuestCartService --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name ModifyBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CompleteBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CustomerCartService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name GiftCardAndVoucherBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name GiftCardBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name GuestCartService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name ModifyBehaviour --case snake import ( "context" diff --git a/cart/domain/validation/itemValidator.go b/cart/domain/validation/itemValidator.go index f4f214c93..f0ad3a8c8 100644 --- a/cart/domain/validation/itemValidator.go +++ b/cart/domain/validation/itemValidator.go @@ -12,7 +12,7 @@ import ( "flamingo.me/flamingo-commerce/v3/product/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name ItemValidator --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name ItemValidator --case snake type ( // ItemValidator checks a cart item diff --git a/cart/infrastructure/defaultCartBehaviour.go b/cart/infrastructure/defaultCartBehaviour.go index 189066361..ec3349cc5 100644 --- a/cart/infrastructure/defaultCartBehaviour.go +++ b/cart/infrastructure/defaultCartBehaviour.go @@ -19,8 +19,8 @@ import ( "flamingo.me/flamingo-commerce/v3/product/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name GiftCardHandler --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name VoucherHandler --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name GiftCardHandler --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name VoucherHandler --case snake type ( // DefaultCartBehaviour defines the default cart order behaviour diff --git a/category/domain/service.go b/category/domain/service.go index f83abca33..c185f00a5 100644 --- a/category/domain/service.go +++ b/category/domain/service.go @@ -10,7 +10,7 @@ var ( ErrNotFound = errors.New("category not found") ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CategoryService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CategoryService --case snake type ( // CategoryService interface diff --git a/category/interfaces/controller/querycommand.go b/category/interfaces/controller/querycommand.go index c99bd2f0f..b7b80ac27 100644 --- a/category/interfaces/controller/querycommand.go +++ b/category/interfaces/controller/querycommand.go @@ -15,7 +15,7 @@ import ( "flamingo.me/flamingo-commerce/v3/search/utils" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name ProductSearchService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name ProductSearchService --case snake type ( // QueryHandler provides the base command logic that is agnostic to the actual view type diff --git a/customer/domain/customer.go b/customer/domain/customer.go index cd59006f5..5f834c44f 100644 --- a/customer/domain/customer.go +++ b/customer/domain/customer.go @@ -1,7 +1,7 @@ package domain -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name Customer --case snake -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name CustomerIdentityService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name Customer --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name CustomerIdentityService --case snake import ( "context" diff --git a/payment/interfaces/webpayment.go b/payment/interfaces/webpayment.go index f1fc28ce3..d42e22264 100644 --- a/payment/interfaces/webpayment.go +++ b/payment/interfaces/webpayment.go @@ -9,7 +9,7 @@ import ( "flamingo.me/flamingo-commerce/v3/payment/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name WebCartPaymentGateway --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name WebCartPaymentGateway --case snake type ( // WebCartPaymentGatewayProvider defines the map of providers for payment providers diff --git a/product/domain/productService.go b/product/domain/productService.go index d074dd668..d83438e70 100644 --- a/product/domain/productService.go +++ b/product/domain/productService.go @@ -7,7 +7,7 @@ import ( searchDomain "flamingo.me/flamingo-commerce/v3/search/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.46.1 --name ProductService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.50.2 --name ProductService --case snake type ( // ProductService interface