-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ removing repository and uow for gorm DataAccess
- Loading branch information
1 parent
08a5c17
commit dfa600b
Showing
277 changed files
with
4,616 additions
and
3,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package cqrs | ||
|
||
// https://www.mohitkhare.com/blog/go-naming-conventions/ | ||
type ITxRequest interface { | ||
IsTxRequest() bool | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package bus | ||
|
||
import ( | ||
consumer2 "github.com/mehdihadeli/go-ecommerce-microservices/internal/pkg/core/messaging/consumer" | ||
"github.com/mehdihadeli/go-ecommerce-microservices/internal/pkg/core/messaging/producer" | ||
) | ||
|
||
type Bus interface { | ||
producer.Producer | ||
consumer2.BusControl | ||
consumer2.ConsumerConnector | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../messaging/consumer/consumer_connector.go → .../messaging/consumer/consumer_connector.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
29 changes: 14 additions & 15 deletions
29
internal/pkg/messaging/mocks/Bus.go → internal/pkg/core/messaging/mocks/Bus.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
internal/pkg/messaging/mocks/BusControl.go → ...al/pkg/core/messaging/mocks/BusControl.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
internal/pkg/messaging/mocks/Consumer.go → ...rnal/pkg/core/messaging/mocks/Consumer.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
29 changes: 15 additions & 14 deletions
29
.../pkg/messaging/mocks/ConsumerConnector.go → ...core/messaging/mocks/ConsumerConnector.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
...al/pkg/messaging/mocks/ConsumerHandler.go → ...g/core/messaging/mocks/ConsumerHandler.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.