Skip to content

build: apply gofmt from golang 1.17 - #5588

Merged
ivandeex merged 1 commit into
rclone:masterfrom
ivandeex:fmt-go1.17
Sep 9, 2021
Merged

ivandeex merged 1 commit into
rclone:masterfrom
ivandeex:fmt-go1.17

Conversation

@ivandeex

@ivandeex ivandeex commented Sep 9, 2021

Copy link
Copy Markdown
Member

What is the purpose of this change?

Fix code quality test failing since upgrade to go 1.17

Was the change discussed in an issue or in the forum before?

No

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

@ivandeex
ivandeex requested a review from ncw September 9, 2021 12:27
@ivandeex ivandeex mentioned this pull request Sep 9, 2021
5 tasks done
@ivandeex ivandeex self-assigned this Sep 9, 2021
@ivandeex

ivandeex commented Sep 9, 2021 •

Copy link
Copy Markdown
Member Author
  1. install golang 1.17 (done)
  2. cd rclone
  3. gofmt -w ./*/*
  4. git push (done)
  5. submit pr (done)
  6. get review from @ncw (todo)

@ivandeex ivandeex added this to the v1.57 milestone Sep 9, 2021

@ncw ncw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine - thank you.

I missed: https://golang.org/doc/go1.17#gofmt

This worked when I updated the build to go1.17 - I guess it started failing when golangci-lint got upgraded to 1.17

Thanks for fixing :-)

@ivandeex
ivandeex merged commit 24de896 into rclone:master Sep 9, 2021
@ivandeex
ivandeex deleted the fmt-go1.17 branch September 9, 2021 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants