Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run gofmt 1.19; Fix bundle-import.sh to generate correct output #1110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 1, 2023

  1. Run gofmt 1.19; Fix bundle-import.sh to generate correct output

    Go 1.19 introduced gofmt formatting changes. This change runs gofmt
    from Go 1.19, since commit 09f2d70 on 2023-07-14 updated to use
    that version. It also fixes bundle-import.sh to generate the correct
    output. The changes are:
    
    * Add the new "//go:build" format lines
    * Put "// +build" tags on one line
    * Ensure the correct number of newlines
    
    With these changes, future runs of bundle-import.sh should generate
    output that is not changed by running gofmt, with one exception:
    The libs line for Windows has a \r\n line ending, since it comes from
    the pkg-config .pc file which has \r\n line endings. I have left this
    unmodified.
    
    kafka/README.md: Update link to correct location
    
    See Go 1.19 release notes for details about gofmt changes:
    https://tip.golang.org/doc/go1.19#go-doc
    evanj committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    7b12184 View commit details
    Browse the repository at this point in the history