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

Add //go:build lines #285

Merged
merged 1 commit into from Jan 4, 2022
Merged

Add //go:build lines #285

merged 1 commit into from Jan 4, 2022

Commits on Jan 4, 2022

  1. Add //go:build lines

    Starting with Go 1.17, //go:build lines are preferred over // +build
    lines, see https://golang.org/doc/go1.17#build-lines and
    https://golang.org/design/draft-gobuild for details.
    
    This change was generated by running Go 1.17 go fmt ./... which
    automatically adds //go:build lines based on the existing // +build
    lines.
    
    Also update the corresponding GitHub action to use Go 1.17 gofmt.
    tklauser committed Jan 4, 2022
    Copy the full SHA
    da08b89 View commit details
    Browse the repository at this point in the history