[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: |
| Comment by Matt Dale [ 19/May/21 ] |