Skip to content

Commit f741550

Browse files
committed
fix: 添加条件编译注释, 防止影响在 win 下非 goose 和 sv 功能的正常使用
1 parent 628f2f8 commit f741550

File tree

10 files changed

+20
-0
lines changed

10 files changed

+20
-0
lines changed

goose_publisher.go

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

35
/*

goose_receiver.go

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

35
/*

goose_subscriber.go

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

35
/*

sv_publisher.go

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

35
/*

sv_receiver.go

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

35
/*

sv_subscriber.go

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

35
/*

test/goose_publisher/goose_publisher_test.go

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

35
import (

test/goose_subscriber/goose_subscriber_test.go

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

35
import (

test/sv_publisher/sv_pubisher_test.go

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

35
import (

test/sv_subscriber/sv_subscriber_test.go

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

35
import (

0 commit comments

Comments
 (0)