go-chat/test/aa.go

16 lines
220 B
Go
Raw Normal View History

2021-04-22 06:12:35 +00:00
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("/aa", func(context *gin.Context) {
context.JSON(200, gin.H{
"message": "pong林蝇是",
})
})
r.Run("0.0.0.0:9888")
}