From 6be23d8235bb90deb8d5c0eb254c769d4d94008e Mon Sep 17 00:00:00 2001 From: LJYljy666 <147259846+LJYljy666@users.noreply.github.com> Date: Sun, 8 Oct 2023 22:46:20 +0800 Subject: [PATCH] Add files via upload --- backend_2023_freshman_task-1/LJYljy666 | 14 ++++++++++++++ backend_2023_freshman_task-1/README.md | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 backend_2023_freshman_task-1/LJYljy666 create mode 100644 backend_2023_freshman_task-1/README.md 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