Skip to content

Commit

Permalink
remove main from websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
toschdev committed Jul 3, 2021
1 parent 74948de commit 06edd16
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions websocket.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package websocket

// example websocket connection to blocks

Expand All @@ -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)
Expand Down

0 comments on commit 06edd16

Please sign in to comment.