From c26f3475e9953da2bb00eaed9dfdfdba547267fb Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 15 Mar 2024 16:52:58 +0100 Subject: [PATCH] Reformat stagelinq discovery consts. --- listener.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/listener.go b/listener.go index 97d5847..48efc00 100644 --- a/listener.go +++ b/listener.go @@ -31,8 +31,10 @@ var ErrInvalidMessageReceived = errors.New("invalid message received") // message. var ErrInvalidDiscovererActionReceived = errors.New("invalid discoverer action received") -const stagelinqDiscoveryNetwork = "udp" -const stagelinqDiscoveryAddressString = ":51337" +const ( + stagelinqDiscoveryNetwork = "udp" + stagelinqDiscoveryAddressString = ":51337" +) var magicBytes = []byte("airD")