From d5557d4a8765a5c188fac32ffac5cb1766330595 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Sat, 12 Aug 2023 12:02:06 +0800 Subject: [PATCH] add miss method for web servent implement in sqlx model --- internal/dao/sakila/tweets.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal/dao/sakila/tweets.go b/internal/dao/sakila/tweets.go index 03a55f61..bb923af2 100644 --- a/internal/dao/sakila/tweets.go +++ b/internal/dao/sakila/tweets.go @@ -375,6 +375,16 @@ func (s *tweetSrv) ListUserStarTweets(user *cs.VistUser, limit int, offset int) return nil, 0, cs.ErrNotImplemented } +func (s *tweetSrv) ListUserMediaTweets(user *cs.VistUser, limit int, offset int) ([]*ms.Post, int64, error) { + // TODO + return nil, 0, cs.ErrNotImplemented +} + +func (s *tweetSrv) ListUserCommentTweets(user *cs.VistUser, limit int, offset int) ([]*ms.Post, int64, error) { + // TODO + return nil, 0, cs.ErrNotImplemented +} + func (s *tweetSrv) GetUserPostStarCount(userID int64) (res int64, err error) { err = s.q.GetUserPostStarCount.Get(&res, userID, userID) return