diff --git a/go.mod b/go.mod index 53da8bb..7b698e0 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,7 @@ module chat -go 1.23 +go 1.16 -//require github.com/go-redis/redis/v8 v8.8.0 require ( - github.com/gin-gonic/gin v1.7.1 - github.com/go-redis/redis/v8 v8.8.0 -//github.com/gin-gonic/gin + github.com/go-redis/redis/v8 v8.10.0 ) diff --git a/test/aa.go b/test/aa.go deleted file mode 100644 index 3d98b32..0000000 --- a/test/aa.go +++ /dev/null @@ -1,15 +0,0 @@ -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") - -}