Skip to content

Commit 21fce79

Browse files
committed
add linux build tags to restrict compilation to linux targets
1 parent 54f4f7a commit 21fce79

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

errors.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package systemctl
24

35
import (

helpers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package systemctl
24

35
import (

structs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package systemctl
24

35
type Options struct {

systemctl.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package systemctl
24

35
import (

util.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package systemctl
24

35
import (

0 commit comments

Comments
 (0)