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

  1. package service
  2. import (
  3. "context"
  4. v1 "practice_ArticleVote_Go/api/vote/v1"
  5. "practice_ArticleVote_Go/internal/logic/vote"
  6. )
  7. type IVote interface {
  8. GetAllVote(ctx context.Context, req *v1.VoteReq) (res *v1.VoteRes, err error)
  9. }
  10. func NewVoteService() IVote {
  11. return vote.NewVoteLogic()
  12. }