From 5b566043054fdbec009da72e2d14327ffe035043 Mon Sep 17 00:00:00 2001 From: xing Date: Sun, 27 Jun 2021 16:56:04 +0800 Subject: [PATCH] delete unused package --- go.mod | 7 ++----- test/aa.go | 15 --------------- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 test/aa.go 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") - -}