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:
nepiedg
2025-12-31 02:30:20 +00:00
parent 97cadb033e
commit d23b253609
8 changed files with 98 additions and 27 deletions
+1
View File
@@ -31,3 +31,4 @@ go.work
# Logs
*.log
.cache/*