From 38356e6cc2dcc935f6300f669cc40c6065fc95ad Mon Sep 17 00:00:00 2001 From: r3inbowari Date: Thu, 9 May 2024 15:12:26 +0800 Subject: [PATCH] fix: lint error --- speedtest.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/speedtest.go b/speedtest.go index 6141765..78e7790 100644 --- a/speedtest.go +++ b/speedtest.go @@ -136,8 +136,7 @@ func main() { }) // 3.0 create a packet loss analyzer, use default options - var analyzer *speedtest.PacketLossAnalyzer - analyzer = speedtest.NewPacketLossAnalyzer(&speedtest.PacketLossAnalyzerOptions{ + var analyzer = speedtest.NewPacketLossAnalyzer(&speedtest.PacketLossAnalyzerOptions{ SourceInterface: *source, })