diff --git a/diagnostic/diagnostic.go b/diagnostic/diagnostic.go index c8992e79..6b25d890 100644 --- a/diagnostic/diagnostic.go +++ b/diagnostic/diagnostic.go @@ -15,7 +15,7 @@ import ( "github.com/rs/zerolog" - network "github.com/kjake/cloudflared/diagnostic/network" + "github.com/kjake/cloudflared/diagnostic/network" ) const ( diff --git a/diagnostic/network/collector.go b/diagnostic/network/collector.go index 8a3a0fd9..78bbac98 100644 --- a/diagnostic/network/collector.go +++ b/diagnostic/network/collector.go @@ -1,4 +1,4 @@ -package diagnostic +package network import ( "context" diff --git a/diagnostic/network/collector_unix.go b/diagnostic/network/collector_unix.go index ce792d6f..9f5202de 100644 --- a/diagnostic/network/collector_unix.go +++ b/diagnostic/network/collector_unix.go @@ -1,6 +1,6 @@ //go:build darwin || linux || freebsd || openbsd || netbsd -package diagnostic +package network import ( "context" diff --git a/diagnostic/network/collector_unix_test.go b/diagnostic/network/collector_unix_test.go index ddc7e7e2..d32c6e46 100644 --- a/diagnostic/network/collector_unix_test.go +++ b/diagnostic/network/collector_unix_test.go @@ -1,6 +1,6 @@ //go:build darwin || linux || freebsd || openbsd || netbsd -package diagnostic_test +package network_test import ( "strings" diff --git a/diagnostic/network/collector_utils.go b/diagnostic/network/collector_utils.go index bfc27849..e6ccb1c8 100644 --- a/diagnostic/network/collector_utils.go +++ b/diagnostic/network/collector_utils.go @@ -1,4 +1,4 @@ -package diagnostic +package network import ( "bufio" diff --git a/diagnostic/network/collector_windows.go b/diagnostic/network/collector_windows.go index fe91a9de..fe02b4ba 100644 --- a/diagnostic/network/collector_windows.go +++ b/diagnostic/network/collector_windows.go @@ -1,6 +1,6 @@ //go:build windows -package diagnostic +package network import ( "context" diff --git a/diagnostic/network/collector_windows_test.go b/diagnostic/network/collector_windows_test.go index 1e3f5a85..777f1e13 100644 --- a/diagnostic/network/collector_windows_test.go +++ b/diagnostic/network/collector_windows_test.go @@ -1,6 +1,6 @@ //go:build windows -package diagnostic_test +package network_test import ( "strings"