mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +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.
16 lines
203 B
Go
16 lines
203 B
Go
package mongo
|
|
|
|
type ListQueryCondition struct {
|
|
Key string
|
|
Op string
|
|
Value interface{}
|
|
}
|
|
|
|
type ListQuery []ListQueryCondition
|
|
|
|
type ListOptions struct {
|
|
Skip int
|
|
Limit int
|
|
Sort []ListSort
|
|
}
|