feat: sorting and filtering enums

This commit is contained in:
2025-08-10 23:54:16 +03:00
parent bd90fb339f
commit 5eb90b18d5

View File

@@ -35,3 +35,15 @@ const (
JwtAccessTokenType JwtTokenType = iota
JwtRefreshTokenType
)
type Sorting int32
const (
ByDate Sorting = iota
ByScore
)
type SortOrder int32
const (
Descending = iota
Ascending
)