[GODRIVER-2392] Remove all "import comments" on Go Driver packages Created: 25/Apr/22  Updated: 18/Dec/23  Resolved: 18/Dec/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Preston Vasquez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2977 Remove all "import comments" on Go Dr... Backlog
Epic Link: Go Driver 2.0: Driver
Backwards Compatibility: Major Change
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Pre-modules versions of Go can enforce import path checking based on the "import comment" (e.g. in uuid.go). However, import path checking is disabled if modules are enabled, so these comments are vestigial because we require Go 1.18+ for Go Driver v2.0.

Definition of done:

  • Remove all vestigial "import comments" from the Go Driver

Note: The scope of this ticket is limited to all Go driver code except the BSON library. See GODRIVER-2977 for the ticket for removing import comments from the BSON library.



 Comments   
Comment by Githook User [ 18/Dec/23 ]

Author:

{'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2392 Remove all "import comments" on Go Driver packages (#1498)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/cdb8c9e2ce030990665d214627da02089ba1dcb8

Generated at Thu Feb 08 08:38:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.