fix missing imports and closing brackets
package main
import (
- "log"
+ "fmt"
"github.com/gofiber/fiber"
"github.com/gofiber/websocket"
+ "log"
)
func main() {
@@ -39,7 +40,7 @@ func main() {
break
}
}
- })
+ }))
// ws://localhost:3000/ws
app.Listen(3000)
