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

Wrap all Godoc example code lines to 80 chars to prevent folding in pkg.go.dev docs

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • None

    Description

      Currently, "example test" code in pkg.go.dev is wrapped at about 80-90 characters. The mongo-go-driver example code is not consistently wrapped at 80 characters and so is difficult to read when viewing in pkg.go.dev

      E.g.: https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo#example-Connect-AWS

      Attachments

        Activity

          People

            matt.dale@mongodb.com Matt Dale
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: