mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 15:13:30 +00:00
feat(backend): add text translation handler and update task mapping for new translation functionality
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
var handleTaskMap = map[string]func(c *echo.Context) ([]byte, error){
|
||||
"image:compress": task.HandleImageCompress,
|
||||
"image:convert": task.HandleImageConvert,
|
||||
"text:translate": task.HandleTextTranslate,
|
||||
}
|
||||
|
||||
func CreateTask(c *echo.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user