diff --git a/cmd/bd/agent_routing_test.go b/cmd/bd/agent_routing_test.go index 3715219ae..db9f74d6b 100644 --- a/cmd/bd/agent_routing_test.go +++ b/cmd/bd/agent_routing_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/agent_test.go b/cmd/bd/agent_test.go index b04ef2a06..b2524c42d 100644 --- a/cmd/bd/agent_test.go +++ b/cmd/bd/agent_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/comments_test.go b/cmd/bd/comments_test.go index 9691767f2..368f560da 100644 --- a/cmd/bd/comments_test.go +++ b/cmd/bd/comments_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/compact_test.go b/cmd/bd/compact_test.go index a63613954..efdcfc9ab 100644 --- a/cmd/bd/compact_test.go +++ b/cmd/bd/compact_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/create_form_test.go b/cmd/bd/create_form_test.go index 815522f74..b6666e134 100644 --- a/cmd/bd/create_form_test.go +++ b/cmd/bd/create_form_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/create_notes_test.go b/cmd/bd/create_notes_test.go index 08d9de0f9..ce0ff6917 100644 --- a/cmd/bd/create_notes_test.go +++ b/cmd/bd/create_notes_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/create_routing_flush_test.go b/cmd/bd/create_routing_flush_test.go index 4fa4df745..5d731a43c 100644 --- a/cmd/bd/create_routing_flush_test.go +++ b/cmd/bd/create_routing_flush_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/create_test.go b/cmd/bd/create_test.go index f99148a2d..f5819e6d7 100644 --- a/cmd/bd/create_test.go +++ b/cmd/bd/create_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/dep_test.go b/cmd/bd/dep_test.go index d04011f5d..d7cfdd023 100644 --- a/cmd/bd/dep_test.go +++ b/cmd/bd/dep_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/duplicates_test.go b/cmd/bd/duplicates_test.go index ab69076a1..166b6ad2e 100644 --- a/cmd/bd/duplicates_test.go +++ b/cmd/bd/duplicates_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/epic_test.go b/cmd/bd/epic_test.go index ccc9c82aa..87cd36983 100644 --- a/cmd/bd/epic_test.go +++ b/cmd/bd/epic_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/integrity_test.go b/cmd/bd/integrity_test.go index b0dc36de2..c521b2a94 100644 --- a/cmd/bd/integrity_test.go +++ b/cmd/bd/integrity_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/main_test.go b/cmd/bd/main_test.go index e8725b700..a901a4716 100644 --- a/cmd/bd/main_test.go +++ b/cmd/bd/main_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/nodb_test.go b/cmd/bd/nodb_test.go index 4eb38595a..75f8bdfb0 100644 --- a/cmd/bd/nodb_test.go +++ b/cmd/bd/nodb_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/ready_test.go b/cmd/bd/ready_test.go index cf16fb254..a160d7bae 100644 --- a/cmd/bd/ready_test.go +++ b/cmd/bd/ready_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/relate_test.go b/cmd/bd/relate_test.go index 5842f82ab..8bd813606 100644 --- a/cmd/bd/relate_test.go +++ b/cmd/bd/relate_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/restore_test.go b/cmd/bd/restore_test.go index 162ce0e4c..aa0f27eb7 100644 --- a/cmd/bd/restore_test.go +++ b/cmd/bd/restore_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/search_test.go b/cmd/bd/search_test.go index 119bd2edc..0c07270ce 100644 --- a/cmd/bd/search_test.go +++ b/cmd/bd/search_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/stale_test.go b/cmd/bd/stale_test.go index a9c631926..591ed089a 100644 --- a/cmd/bd/stale_test.go +++ b/cmd/bd/stale_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/sync_helpers_more_test.go b/cmd/bd/sync_helpers_more_test.go index 04f8eb14d..8e5ec64de 100644 --- a/cmd/bd/sync_helpers_more_test.go +++ b/cmd/bd/sync_helpers_more_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/sync_validation_test.go b/cmd/bd/sync_validation_test.go index 567bfe622..51c1ce473 100644 --- a/cmd/bd/sync_validation_test.go +++ b/cmd/bd/sync_validation_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/thread_test.go b/cmd/bd/thread_test.go index b7c6dfaec..5e8703f35 100644 --- a/cmd/bd/thread_test.go +++ b/cmd/bd/thread_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/cmd/bd/version_test.go b/cmd/bd/version_test.go index 7c5035eb1..17539285a 100644 --- a/cmd/bd/version_test.go +++ b/cmd/bd/version_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package main import ( diff --git a/internal/syncbranch/coverage_gap_test.go b/internal/syncbranch/coverage_gap_test.go index 42bd0b2f9..dcf70d8d8 100644 --- a/internal/syncbranch/coverage_gap_test.go +++ b/internal/syncbranch/coverage_gap_test.go @@ -1,3 +1,5 @@ +//go:build cgo + package syncbranch import (