feat: go report card

fix: comment and log misspellings
This commit is contained in:
2025-03-13 16:11:01 +00:00
parent b31f08186c
commit 25303851d5
21 changed files with 46 additions and 42 deletions

View File

@@ -38,7 +38,7 @@ type PaymentService struct {
}
// Interface for database methods
// Flexibility for implementing seperate controllers for different databases (e.g. Postgres, MongoDB, etc)
// Flexibility for implementing separate controllers for different databases (e.g. Postgres, MongoDB, etc)
type StorageController interface {
GetBalance(ctx context.Context, customerId string) (*pb.CustomerBalance, error)
GetTransaction(ctx context.Context, transactionId string) (*pb.Transaction, error)
@@ -52,7 +52,7 @@ type StorageController interface {
}
// Interface for event consumption
// Flexibility for seperate controllers for different messaging systems (e.g. Kafka, NATS, etc)
// Flexibility for separate controllers for different messaging systems (e.g. Kafka, NATS, etc)
type ConsumerController interface {
messaging.ConsumerController