Create Go Doc Examples From Unstable API Examples

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Hide

      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?

      Show
      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?
    • None
    • None
    • None
    • None
    • None
    • None

      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() {
      	// ...
      }
      

            Assignee:
            Timothy Kim (Inactive)
            Reporter:
            Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: