Skip to content

Commit 34db320

Browse files
prestonvasquezPreston Vasquez
andauthored
GODRIVER-2334 Update lines in favor of lines (#876)
Co-authored-by: Preston Vasquez <[email protected]>
1 parent af54779 commit 34db320

20 files changed

+28
-8
lines changed

internal/testutil/israce/norace.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7+
//go:build !race
78
// +build !race
89

910
// Package israce reports if the Go race detector is enabled.

mongo/integration/client_side_encryption_spec_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7+
//go:build cse
78
// +build cse
89

910
package integration

x/mongo/driver/auth/gssapi.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build gssapi
8-
//+build windows linux darwin
7+
//go:build gssapi && (windows || linux || darwin)
8+
// +build gssapi
9+
// +build windows linux darwin
910

1011
package auth
1112

x/mongo/driver/auth/gssapi_not_enabled.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build !gssapi
7+
//go:build !gssapi
8+
// +build !gssapi
89

910
package auth
1011

x/mongo/driver/auth/gssapi_not_supported.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build gssapi,!windows,!linux,!darwin
7+
//go:build gssapi && !windows && !linux && !darwin
8+
// +build gssapi,!windows,!linux,!darwin
89

910
package auth
1011

x/mongo/driver/auth/gssapi_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build gssapi
7+
//go:build gssapi
8+
// +build gssapi
89

910
package auth
1011

x/mongo/driver/auth/internal/gssapi/gss.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build gssapi
8-
//+build linux darwin
7+
//go:build gssapi && (linux || darwin)
8+
// +build gssapi
9+
// +build linux darwin
910

1011
package gssapi
1112

x/mongo/driver/auth/internal/gssapi/sspi.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7-
//+build gssapi,windows
7+
//go:build gssapi && windows
8+
// +build gssapi,windows
89

910
package gssapi
1011

x/mongo/driver/mongocrypt/binary.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7+
//go:build cse
78
// +build cse
89

910
package mongocrypt

x/mongo/driver/mongocrypt/errors.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
66

7+
//go:build cse
78
// +build cse
89

910
package mongocrypt

0 commit comments

Comments
 (0)