remove unneeded code

This commit is contained in:
Chris kerr 2024-07-19 21:23:13 -04:00
parent 0f9436ee44
commit 2fe8d6af8c

View File

@ -7,17 +7,9 @@ import (
"grain/events" "grain/events"
"go.mongodb.org/mongo-driver/mongo"
"golang.org/x/net/websocket" "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) { func Handler(ws *websocket.Conn) {
var msg string var msg string
for { for {