update deps, make engine code into a lib
This commit is contained in:
parent
662192ab41
commit
566eb69743
28 changed files with 91 additions and 3537 deletions
11
docs/docs.go
11
docs/docs.go
|
@ -1,5 +1,4 @@
|
|||
// Code generated by swaggo/swag. DO NOT EDIT.
|
||||
|
||||
// Package docs Code generated by swaggo/swag. DO NOT EDIT
|
||||
package docs
|
||||
|
||||
import "github.com/swaggo/swag"
|
||||
|
@ -30,7 +29,7 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"description": "success",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.List"
|
||||
}
|
||||
|
@ -52,7 +51,7 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"description": "success",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.List"
|
||||
}
|
||||
|
@ -62,7 +61,7 @@ const docTemplate = `{
|
|||
},
|
||||
"/api/translate": {
|
||||
"get": {
|
||||
"description": "When engine is set to all, it will return an array of utils.LangOut.",
|
||||
"description": "When engine is set to all, it will return an array of libmozhi.LangOut.",
|
||||
"summary": "Translate text",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -96,7 +95,7 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"description": "success",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.LangOut"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue