[GODRIVER-2334] Add new style Go build tags to all files with existing build tags Created: 15/Mar/22 Updated: 16/Mar/22 Resolved: 16/Mar/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Preston Vasquez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
The Go 1.17+ formatter adds the new "//go:build"-style build tags automatically based on any existing "// +build"-style build tag. Currently if you run make fmt on the Go driver repo using Go 1.17+, it adds the new build tags to a bunch of files. Commit those automatic build tag changes so developers using Go 1.17+ don't run into unexpected changes when running the standard formatter. |
| Comments |
| Comment by Githook User [ 16/Mar/22 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvs10@gmail.com', 'username': 'prestonvasquez'}Message: Co-authored-by: Preston Vasquez <preston.vasquez@Prestons-MacBook-Pro.local> |