mirror of
https://github.com/jwetzell/artnet-go.git
synced 2026-09-11 08:19:28 +00:00
fix up example
This commit is contained in:
@@ -23,10 +23,6 @@ func main() {
|
|||||||
defer connection.Close()
|
defer connection.Close()
|
||||||
buffer := make([]byte, 1024)
|
buffer := make([]byte, 1024)
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
for {
|
for {
|
||||||
bytesRead, _, err := connection.ReadFromUDP(buffer)
|
bytesRead, _, err := connection.ReadFromUDP(buffer)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user