mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-05-01 16:39:24 -05:00
15 lines
285 B
Go
15 lines
285 B
Go
package auth
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func (s *Service) GetUserSessions(
|
|
ctx context.Context, userID uuid.UUID,
|
|
) ([]dbgen.Session, error) {
|
|
return s.dbgen.AuthServiceGetUserSessions(ctx, userID)
|
|
}
|