Skip to content

Commit 96a2be1

Browse files
aykevldeadprogram
authored andcommitted
Add //go:build lines for Go 1.18
This will be needed eventually, so add them now already.
1 parent 4c0df28 commit 96a2be1

23 files changed

+23
-0
lines changed

adapter_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !baremetal
12
// +build !baremetal
23

34
// Some documentation for the BlueZ D-Bus interface:

adapter_nrf51.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s110v8
12
// +build softdevice,s110v8
23

34
package bluetooth

adapter_nrf528xx-full.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build (softdevice && s132v6) || (softdevice && s140v6) || (softdevice && s140v7)
12
// +build softdevice,s132v6 softdevice,s140v6 softdevice,s140v7
23

34
package bluetooth

adapter_nrf528xx-peripheral.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s113v7
12
// +build softdevice,s113v7
23

34
package bluetooth

adapter_nrf528xx.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build (softdevice && s113v7) || (softdevice && s132v6) || (softdevice && s140v6) || (softdevice && s140v7)
12
// +build softdevice,s113v7 softdevice,s132v6 softdevice,s140v6 softdevice,s140v7
23

34
package bluetooth

adapter_s110.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s110v8
12
// +build softdevice,s110v8
23

34
package bluetooth

adapter_s113v7.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s113v7
12
// +build softdevice,s113v7
23

34
package bluetooth

adapter_s132.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s132v6
12
// +build softdevice,s132v6
23

34
package bluetooth

adapter_s140v6.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s140v6
12
// +build softdevice,s140v6
23

34
package bluetooth

adapter_s140v7.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build softdevice && s140v7
12
// +build softdevice,s140v7
23

34
package bluetooth

0 commit comments

Comments
 (0)