feat: 添加喜报功能

This commit is contained in:
lixiangwuxian
2024-10-09 01:30:50 +08:00
parent f5e9b74c5a
commit c13b7f2068
12 changed files with 95 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ func main() {
// 创建 WebSocket 客户端
client, err := wsclient.NewWebSocketClient("ws", "localhost:3001", "")
if err != nil {
log.Fatal("Error creating WebSocket client:", err)
log.Print("Error creating WebSocket client:", err)
}
defer client.Close()
for {