From 2fe8d6af8c5e96a896518bf27322eed5aff907d6 Mon Sep 17 00:00:00 2001 From: Chris kerr Date: Fri, 19 Jul 2024 21:23:13 -0400 Subject: [PATCH] remove unneeded code --- requests/requests.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/requests/requests.go b/requests/requests.go index 0e81890..068f064 100644 --- a/requests/requests.go +++ b/requests/requests.go @@ -7,17 +7,9 @@ import ( "grain/events" - "go.mongodb.org/mongo-driver/mongo" "golang.org/x/net/websocket" ) -var eventKind0Collection, eventKind1Collection *mongo.Collection - -func SetCollections(collections map[string]*mongo.Collection) { - eventKind0Collection = collections["eventKind0"] - eventKind1Collection = collections["eventKind1"] -} - func Handler(ws *websocket.Conn) { var msg string for {