diff --git a/backend_2023_freshman_task-1/LJYljy666 b/backend_2023_freshman_task-1/LJYljy666 new file mode 100644 index 0000000..7656c1f --- /dev/null +++ b/backend_2023_freshman_task-1/LJYljy666 @@ -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") +} \ No newline at end of file diff --git a/backend_2023_freshman_task-1/README.md b/backend_2023_freshman_task-1/README.md new file mode 100644 index 0000000..d17cfc7 --- /dev/null +++ b/backend_2023_freshman_task-1/README.md @@ -0,0 +1,10 @@ +# backend_2023_freshman_task + +2023 杭助后端招新小任务提交仓库 + +- fork本仓库 +- git clone 你 fork 出来的仓库 +- 在仓库根目录下新建一个和你 github 用户名同名的文件夹 +- 在此文件夹内,放入你的代码 +- 提交 Pull request +- github action通过后,即为提交成功 \ No newline at end of file