Merge pull request #1071 from skrashevich/refactr-syscall-more-generic

refactor(sysctl): consolidate platform-specific syscall files
This commit is contained in:
Alex X
2024-05-13 19:00:10 +03:00
committed by GitHub
12 changed files with 22 additions and 24 deletions
@@ -1,3 +1,5 @@
//go:build freebsd || netbsd || openbsd || dragonfly
package device
import (
+2
View File
@@ -1,3 +1,5 @@
//go:build darwin || ios
package device
import (
@@ -1,3 +1,5 @@
//go:build unix && !darwin && !freebsd && !netbsd && !openbsd && !dragonfly
package device
import (
+2
View File
@@ -1,3 +1,5 @@
//go:build windows
package device
import (
@@ -1,3 +1,5 @@
//go:build freebsd || netbsd || openbsd || dragonfly
package hardware
import (
@@ -1,3 +1,5 @@
//go:build darwin || ios
package hardware
import (
@@ -1,3 +1,5 @@
//go:build unix && !darwin && !freebsd && !netbsd && !openbsd && !dragonfly
package hardware
import (
@@ -1,3 +1,5 @@
//go:build windows
package hardware
import "github.com/AlexxIT/go2rtc/internal/api"