You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
294 B

package service
import (
"context"
v1 "practice_ArticleVote_Go/api/vote/v1"
"practice_ArticleVote_Go/internal/logic/vote"
)
type IVote interface {
GetAllVote(ctx context.Context, req *v1.VoteReq) (res *v1.VoteRes, err error)
}
func NewVoteService() IVote {
return vote.NewVoteLogic()
}