mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
- Deleted the db module, consolidating database-related functionality into the core/mongo package for better organization and maintainability. - Updated all import paths across the codebase to replace references to the removed db module with core/mongo. - Cleaned up unused code and dependencies, enhancing overall project clarity and reducing complexity. - This refactor improves the structure of the codebase by centralizing database operations and simplifying module management.
14 lines
204 B
Go
14 lines
204 B
Go
package mongo
|
|
|
|
type SortDirection string
|
|
|
|
const (
|
|
SortDirectionAsc SortDirection = "asc"
|
|
SortDirectionDesc SortDirection = "desc"
|
|
)
|
|
|
|
type ListSort struct {
|
|
Key string
|
|
Direction SortDirection
|
|
}
|