Skip to content

Commit bdddadb

Browse files
committed
Add build constraints to not build on windows
1 parent 7f6cb64 commit bdddadb

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/carrier.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package splunkkafka
1618

1719
import (

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/carrier_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package splunkkafka_test
1618

1719
import (

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package splunkkafka
1618

1719
import (

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/config_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package splunkkafka
1618

1719
import (

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/kafka.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
// Package splunkkafka provides functions to trace the
1618
// github.com/confluentinc/confluent-kafka-go/kafka package.
1719
package splunkkafka // import "github.com/signalfx/splunk-otel-go/instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka"

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/kafka_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package splunkkafka
1618

1719
import (

instrumentation/github.com/confluentinc/confluent-kafka-go/kafka/splunkkafka/test/kafka_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
16+
1517
package test
1618

1719
import (

0 commit comments

Comments
 (0)