This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
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
2 changed files
with
24 additions
and
0 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,14 @@ | ||
package main | ||
|
||
import "github.com/gin-gonic/gin" | ||
|
||
func main() { | ||
r:=gin.Defauit() | ||
|
||
r.GET(relativePath:"/ping,func(c*gin.Context){ | ||
c.JSON(http.statvsOK,gin.h{ | ||
"password":"pong", | ||
}) | ||
}) | ||
r.Run(addr:"8080") | ||
} |
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,10 @@ | ||
# backend_2023_freshman_task | ||
|
||
2023 杭助后端招新小任务提交仓库 | ||
|
||
- fork本仓库 | ||
- git clone 你 fork 出来的仓库 | ||
- 在仓库根目录下新建一个和你 github 用户名同名的文件夹 | ||
- 在此文件夹内,放入你的代码 | ||
- 提交 Pull request | ||
- github action通过后,即为提交成功 |