From 944e43fa9f1be2bc761b36922304c22e96fbb9e5 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 17 八月 2023 18:11:45 +0800
Subject: [PATCH] 后端添加websocket

---
 server/go.mod |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/server/go.mod b/server/go.mod
index d26e22b..cc522c8 100644
--- a/server/go.mod
+++ b/server/go.mod
@@ -2,7 +2,11 @@
 
 go 1.20
 
-require github.com/gin-gonic/gin v1.9.1
+require (
+	github.com/gin-gonic/gin v1.9.1
+	github.com/gorilla/websocket v1.5.0
+	github.com/jinzhu/gorm v1.9.16
+)
 
 require (
 	github.com/bytedance/sonic v1.9.1 // indirect
@@ -13,6 +17,7 @@
 	github.com/go-playground/universal-translator v0.18.1 // indirect
 	github.com/go-playground/validator/v10 v10.14.0 // indirect
 	github.com/goccy/go-json v0.10.2 // indirect
+	github.com/jinzhu/inflection v1.0.0 // indirect
 	github.com/json-iterator/go v1.1.12 // indirect
 	github.com/klauspost/cpuid/v2 v2.2.4 // indirect
 	github.com/leodido/go-urn v1.2.4 // indirect

--
Gitblit v1.8.0