Skip to content

Commit 06edd16

Browse files
committed
remove main from websocket
1 parent 74948de commit 06edd16

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

websocket.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package main
1+
package websocket
22

33
// example websocket connection to blocks
44

@@ -10,10 +10,6 @@ import (
1010
"github.com/sacOO7/gowebsocket"
1111
)
1212

13-
func main() {
14-
websocket()
15-
}
16-
1713
func websocket() {
1814
interrupt := make(chan os.Signal, 1)
1915
signal.Notify(interrupt, os.Interrupt)

0 commit comments

Comments
 (0)