Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LJYljy666 authored Oct 8, 2023
1 parent f9c1d0e commit 6be23d8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions backend_2023_freshman_task-1/LJYljy666
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")
}
10 changes: 10 additions & 0 deletions backend_2023_freshman_task-1/README.md
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通过后,即为提交成功

0 comments on commit 6be23d8

Please sign in to comment.