✨ Refactor testing framework to utilize Ginkgo for unit tests and introduce a new test-all target for running both unit and integration tests. Update README and Taskfile to reflect changes in test execution commands and clarify dependencies. Migrate domain models to a new model package for better separation of concerns.
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package iface
|
||||
|
||||
import (
|
||||
"caatsm/internal/domain"
|
||||
"caatsm/internal/infra/config"
|
||||
)
|
||||
import "caatsm/internal/infra/config"
|
||||
|
||||
type MessageHandler interface {
|
||||
HandleMessage(msg []byte, id string) error
|
||||
@@ -18,5 +15,5 @@ type MessageSubscriber interface {
|
||||
}
|
||||
|
||||
type MessageRepository interface {
|
||||
CreateNew(message *domain.ParsedMessage) error
|
||||
CreateNew(message interface{}) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user