Skip to content

Commit

Permalink
GODRIVER-2334 Update lines in favor of lines (mongodb#876)
Browse files Browse the repository at this point in the history
Co-authored-by: Preston Vasquez <preston.vasquez@Prestons-MacBook-Pro.local>
  • Loading branch information
prestonvasquez and Preston Vasquez authored Mar 16, 2022
1 parent af54779 commit 34db320
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 8 deletions.
1 change: 1 addition & 0 deletions internal/testutil/israce/norace.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build !race
// +build !race

// Package israce reports if the Go race detector is enabled.
Expand Down
1 change: 1 addition & 0 deletions mongo/integration/client_side_encryption_spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package integration
Expand Down
5 changes: 3 additions & 2 deletions x/mongo/driver/auth/gssapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build gssapi
//+build windows linux darwin
//go:build gssapi && (windows || linux || darwin)
// +build gssapi
// +build windows linux darwin

package auth

Expand Down
3 changes: 2 additions & 1 deletion x/mongo/driver/auth/gssapi_not_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build !gssapi
//go:build !gssapi
// +build !gssapi

package auth

Expand Down
3 changes: 2 additions & 1 deletion x/mongo/driver/auth/gssapi_not_supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build gssapi,!windows,!linux,!darwin
//go:build gssapi && !windows && !linux && !darwin
// +build gssapi,!windows,!linux,!darwin

package auth

Expand Down
3 changes: 2 additions & 1 deletion x/mongo/driver/auth/gssapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build gssapi
//go:build gssapi
// +build gssapi

package auth

Expand Down
5 changes: 3 additions & 2 deletions x/mongo/driver/auth/internal/gssapi/gss.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build gssapi
//+build linux darwin
//go:build gssapi && (linux || darwin)
// +build gssapi
// +build linux darwin

package gssapi

Expand Down
3 changes: 2 additions & 1 deletion x/mongo/driver/auth/internal/gssapi/sspi.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//+build gssapi,windows
//go:build gssapi && windows
// +build gssapi,windows

package gssapi

Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/errors_not_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build !cse
// +build !cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/mongocrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/mongocrypt_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build !cse
// +build !cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/mongocrypt_kms_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build !cse
// +build !cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/mongocrypt_not_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build !cse
// +build !cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/mongocrypt/mongocrypt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build cse
// +build cse

package mongocrypt
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/ocsp/ocsp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build go1.13
// +build go1.13

package ocsp
Expand Down
1 change: 1 addition & 0 deletions x/mongo/driver/topology/topology_errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

//go:build go1.13
// +build go1.13

package topology
Expand Down

0 comments on commit 34db320

Please sign in to comment.