-
-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: | ||
push: | ||
pull_request: | ||
|
||
name: CI | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.19' | ||
|
||
- name: Build | ||
run: go build ./... | ||
|
||
- name: Test | ||
run: go test ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
- 'v*' | ||
pull_request: | ||
|
||
name: Build Release | ||
name: Release | ||
jobs: | ||
|
||
Build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @Author: Vincent Young | ||
* @Date: 2023-07-01 21:45:34 | ||
* @LastEditors: Vincent Young | ||
* @LastEditTime: 2023-10-28 22:42:08 | ||
* @LastEditTime: 2023-11-18 04:12:49 | ||
* @FilePath: /DeepLX/main.go | ||
* @Telegram: https://t.me/missuo | ||
* | ||
|
@@ -158,7 +158,7 @@ func main() { | |
r.GET("/", func(c *gin.Context) { | ||
c.JSON(200, gin.H{ | ||
"code": 200, | ||
"message": "DeepL Free API, Developed by sjlleo <[email protected]> and missuo <[email protected]>. Go to /translate with POST. http://github.com/OwO-Network/DeepLX", | ||
"message": "DeepL Free API, Developed by sjlleo and missuo. Go to /translate with POST. http://github.com/OwO-Network/DeepLX", | ||
}) | ||
}) | ||
|
||
|