delete unused package
This commit is contained in:
parent
cfa5e13aec
commit
5b56604305
7
go.mod
7
go.mod
|
@ -1,10 +1,7 @@
|
||||||
module chat
|
module chat
|
||||||
|
|
||||||
go 1.23
|
go 1.16
|
||||||
|
|
||||||
//require github.com/go-redis/redis/v8 v8.8.0
|
|
||||||
require (
|
require (
|
||||||
github.com/gin-gonic/gin v1.7.1
|
github.com/go-redis/redis/v8 v8.10.0
|
||||||
github.com/go-redis/redis/v8 v8.8.0
|
|
||||||
//github.com/gin-gonic/gin
|
|
||||||
)
|
)
|
||||||
|
|
15
test/aa.go
15
test/aa.go
|
@ -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")
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user