-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
Describe the background behind the problem.
Definition of done
- Move the "operation.Count" type into the "mongo" package and unexport it. Rename the type to countOp.
- Move the code to the "mongo/op_count.go" file.
- Remove all exported setter methods.
- Update all code to use the moved "mongo.countOp" type.
- Delete "x/mongo/driver/operation/count.go"
Pitfalls
What should the implementer watch out for? What are the risks?