12 lines
252 B
Go
12 lines
252 B
Go
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)
|
|
}
|