Refactor Feedback Module for Consistency and Clarity
- Updated feedback repository and service methods to use a consistent naming convention, changing `NewTenderRepository` and similar methods to `NewRepository`. - Refactored feedback handler methods to improve clarity by renaming methods such as `ListFeedback` to `Search` and `GetFeedback` to `Get`. - Enhanced feedback response structures to include detailed company and tender information, improving the clarity of feedback data returned to API consumers. - Updated Swagger documentation to reflect changes in feedback response structures and endpoint paths, ensuring accurate representation of the API for consumers.
This commit is contained in:
@@ -33,8 +33,8 @@ type notificationService struct {
|
||||
logger logger.Logger
|
||||
}
|
||||
|
||||
// NewNotificationService creates a new notification service
|
||||
func NewNotificationService(
|
||||
// NewService creates a new notification service
|
||||
func NewService(
|
||||
sdk notification.SDK,
|
||||
userService user.Service,
|
||||
customerService customer.Service,
|
||||
|
||||
Reference in New Issue
Block a user