Files
mtusi2026lab3/internal/pkg/domain/pagination.go
T
2026-10-20 20:46:51 +03:00

24 lines
269 B
Go

package domain
import "time"
type Position struct {
CreatedAt time.Time
ID string
}
type Pagination struct {
After *Position
Limit int
}
type ChatPage struct {
Items []Chat
HasMore bool
}
type MessagePage struct {
Items []Message
HasMore bool
}