The database requirements have been added, as well as the service/repo architecture. A few small functions have been created, but the system is not complete by any means. More work is required to mark this task complete.
8 lines
229 B
Go
8 lines
229 B
Go
package domain
|
|
|
|
type EngagementService interface {
|
|
UserViewRecipe(userId, recipeId int) (Engagement, error)
|
|
UserLikeRecipe(userId, recipeId int) (Engagement, error)
|
|
GetUserEngagement(userId, limit int) ([]Engagement, error)
|
|
}
|