Skip to content

Commit

Permalink
Adjust changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thegodenage committed Mar 14, 2024
1 parent 7d60563 commit bffc34a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.idea
.cert
vendor
3 changes: 1 addition & 2 deletions internal/visualize/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
type Server struct {
port string
visualizer *Visualizer
clients map[]
}

func NewServer(port string) *Server {
Expand All @@ -26,7 +25,7 @@ func (s *Server) GetVisualizer() *Visualizer {

func (s *Server) Start(ctx context.Context) {
handlerFunc := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
c, err := websocket.Accept(w,r, nil)
_, err := websocket.Accept(w, r, nil)
if err != nil {

}
Expand Down

0 comments on commit bffc34a

Please sign in to comment.