Skip to content

Commit

Permalink
GODRIVER-2392 Remove all "import comments" on Go Driver packages (mon…
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez authored Dec 18, 2023
1 parent cc816b9 commit cdb8c9e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion event/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package event // import "go.mongodb.org/mongo-driver/event"
package event

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion internal/benchmark/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package benchmark // import "go.mongodb.org/mongo-driver/benchmark"
package benchmark

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion mongo/address/addr.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

// Package address provides structured representations of network addresses.
package address // import "go.mongodb.org/mongo-driver/mongo/address"
package address

import (
"net"
Expand Down
2 changes: 1 addition & 1 deletion mongo/description/description.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

// Package description contains types and functions for describing the state of MongoDB clusters.
package description // import "go.mongodb.org/mongo-driver/mongo/description"
package description

// Unknown is an unknown server or topology kind.
const Unknown = 0
2 changes: 1 addition & 1 deletion mongo/gridfs/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package gridfs // import "go.mongodb.org/mongo-driver/mongo/gridfs"
package gridfs

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion mongo/mongo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package mongo // import "go.mongodb.org/mongo-driver/mongo"
package mongo

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion mongo/options/clientoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package options // import "go.mongodb.org/mongo-driver/mongo/options"
package options

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion mongo/readconcern/readconcern.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// For more information about MongoDB read concerns, see
// https://www.mongodb.com/docs/manual/reference/read-concern/
package readconcern // import "go.mongodb.org/mongo-driver/mongo/readconcern"
package readconcern

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion mongo/readpref/readpref.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

// Package readpref defines read preferences for MongoDB queries.
package readpref // import "go.mongodb.org/mongo-driver/mongo/readpref"
package readpref

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion mongo/writeconcern/writeconcern.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// For more information about MongoDB write concerns, see
// https://www.mongodb.com/docs/manual/reference/write-concern/
package writeconcern // import "go.mongodb.org/mongo-driver/mongo/writeconcern"
package writeconcern

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion tag/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// For more information about read preference tags, see
// https://www.mongodb.com/docs/manual/core/read-preference-tags/
package tag // import "go.mongodb.org/mongo-driver/tag"
package tag

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

// Package version defines the Go Driver version.
package version // import "go.mongodb.org/mongo-driver/version"
package version

// Driver is the current version of the driver.
var Driver = "v2.0.0-prerelease"
2 changes: 1 addition & 1 deletion x/bsonx/bsoncore/bsoncore.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package bsoncore // import "go.mongodb.org/mongo-driver/x/bsonx/bsoncore"
package bsoncore

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/connstring/connstring.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package connstring // import "go.mongodb.org/mongo-driver/x/mongo/driver/connstring"
package connstring

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package driver // import "go.mongodb.org/mongo-driver/x/mongo/driver"
package driver

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/session/client_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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

package session // import "go.mongodb.org/mongo-driver/x/mongo/driver/session"
package session

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/topology/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// of servers. This package is designed to expose enough inner workings of service discovery
// and monitoring to allow low level applications to have fine grained control, while hiding
// most of the detailed implementation of the algorithms.
package topology // import "go.mongodb.org/mongo-driver/x/mongo/driver/topology"
package topology

import (
"context"
Expand Down

0 comments on commit cdb8c9e

Please sign in to comment.