x
This commit is contained in:
11
internal/wechatdb/repository/session.go
Normal file
11
internal/wechatdb/repository/session.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/sjzar/chatlog/internal/model"
|
||||
)
|
||||
|
||||
func (r *Repository) GetSessions(ctx context.Context, key string, limit, offset int) ([]*model.Session, error) {
|
||||
return r.ds.GetSessions(ctx, key, limit, offset)
|
||||
}
|
||||
Reference in New Issue
Block a user