diff --git a/examples/receive/main.go b/examples/receive/main.go index 27db6a3..d4dc5ce 100644 --- a/examples/receive/main.go +++ b/examples/receive/main.go @@ -23,10 +23,6 @@ func main() { defer connection.Close() buffer := make([]byte, 1024) - if err != nil { - panic(err) - } - for { bytesRead, _, err := connection.ReadFromUDP(buffer)