Loading

摘要: 获取请求传参 获取get请求传参 Query和DefaultQuery router := gin.Default() // 127.0.0.1:8080/index?page=1&category=2 router.GET("/index", func(context *gin.Context) 阅读全文
posted @ 2024-02-26 18:07 木子七 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Gin 是一个 Go (Golang) 编写的轻量级 http web 框架,运行速度非常快 Gin 的官网:https://gin-gonic.com/zh-cn/ Gin Github 地址:https://github.com/gin-gonic/gin gin环境搭建 下载并安装 # go 阅读全文
posted @ 2024-02-26 13:13 木子七 阅读(17) 评论(0) 推荐(0) 编辑