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

Add new style Go build tags to all files with existing build tags

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: