Enhance API and error handling for video services
- Updated .gitignore to exclude cache files. - Refactored main.go to streamline route registration and improve code organization. - Added detailed comments in auth_handler.go, video_handler.go, and service files for better clarity on request handling and service logic. - Improved error messages in video_handler.go to provide clearer feedback to users in Chinese. - Introduced context handling in service methods to manage request timeouts effectively.
This commit is contained in:
@@ -31,3 +31,4 @@ go.work
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
.cache/*
|
||||
|
||||
Reference in New Issue
Block a user