[GODRIVER-2015] Wrap all Godoc example code lines to 80 chars to prevent folding in pkg.go.dev docs Created: 17/May/21  Updated: 26/May/21  Resolved: 26/May/21

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

Type: Improvement Priority: Trivial - P5
Reporter: Matt Dale Assignee: Matt Dale
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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



 Comments   
Comment by Githook User [ 25/May/21 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2015 Wrap all lines in example test files at 80 characters. (#672)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/7b99e383e76392e725efd72b3c67895edc4ca9cb

Comment by Matt Dale [ 19/May/21 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/672

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