From 6ebd8335514bd3739cce1fdb1145712dfeda5f4c Mon Sep 17 00:00:00 2001 From: Alex Cohn Date: Fri, 10 Jun 2022 12:05:13 -0500 Subject: Disable extendedstats on darwin The Darwin golang.org/x/sys/unix package does not contain a TCPInfo struct, which causes the project not to compile on macOS systems. --- extendedstats/unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extendedstats/unix.go') diff --git a/extendedstats/unix.go b/extendedstats/unix.go index e50d719..c4dc065 100644 --- a/extendedstats/unix.go +++ b/extendedstats/unix.go @@ -1,5 +1,5 @@ -//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd -// +build darwin dragonfly freebsd linux netbsd openbsd +//go:build dragonfly || freebsd || linux || netbsd || openbsd +// +build dragonfly freebsd linux netbsd openbsd package extendedstats -- cgit v1.2.3