This commit is contained in:
Joel Wetzell
2025-11-18 18:57:39 -06:00
parent e1a8bef3fb
commit b3735ee713
5 changed files with 20 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"log"
"log/slog"
"net"
)
@@ -55,7 +56,7 @@ func (us UDPServer) Run(ctx context.Context) error {
if err != nil {
return err
}
fmt.Println(buffer[:numBytes])
slog.Info(string(buffer[:numBytes]))
}
}