Files
crawlab/core/utils
Marvin Zhang a28ffbf66c refactor: simplify interfaces and improve configuration handling
- Removed unused ApiApp and ServerApp interfaces from core/apps/interfaces.go to streamline the codebase.
- Updated the GetApi method in the Server struct to return a pointer to the Api type for better type handling.
- Simplified the GetGinMode function in core/utils/config.go to always return gin.ReleaseMode, removing unnecessary conditional checks for development mode.
- These changes enhance code clarity and maintainability by eliminating redundant code and improving type safety.
2024-12-24 23:05:41 +08:00
..
2024-06-14 15:42:50 +08:00
2024-10-20 17:55:57 +08:00
2024-06-14 15:42:50 +08:00
2024-11-22 17:43:59 +08:00
2024-06-14 15:42:50 +08:00
2024-11-22 17:43:59 +08:00
2024-10-20 17:22:35 +08:00
2024-08-26 18:33:46 +08:00
2024-10-18 15:03:32 +08:00
2024-10-18 15:03:32 +08:00
2024-06-14 15:42:50 +08:00
2024-11-22 17:43:59 +08:00
2024-11-18 16:48:09 +08:00
2024-11-18 16:48:09 +08:00
2024-06-14 15:42:50 +08:00