Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2527

Create Go Doc Examples From Unstable API Examples

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Testing

    Description

      The examples in x/mongo/driver/examples should be converted into Go Doc examples for better readability and package integration. GODRIVER-1530 , for instance, decouples the cluster monitoring test into x/mongo/driver/topology/example_test.go:

      func Example_clusterMonitoring() {
      	// ...
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: