From 06edd16531051a0bb64be1cec9231288fa5732c0 Mon Sep 17 00:00:00 2001 From: Tobias Schwarz Date: Sat, 3 Jul 2021 10:16:49 +0200 Subject: [PATCH] remove main from websocket --- websocket.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/websocket.go b/websocket.go index f92078f..819c64d 100644 --- a/websocket.go +++ b/websocket.go @@ -1,4 +1,4 @@ -package main +package websocket // example websocket connection to blocks @@ -10,10 +10,6 @@ import ( "github.com/sacOO7/gowebsocket" ) -func main() { - websocket() -} - func websocket() { interrupt := make(chan os.Signal, 1) signal.Notify(interrupt, os.Interrupt)