-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
README: apply gofmt to examples #1687
base: master
Are you sure you want to change the base?
Conversation
It would be helpful to have a CI test that ensures this remains in the future. Any pointer to such a tool that would extract blocks of |
ed2aad8
to
3cf0926
Compare
I'm using mdsf for formatting fenced blocks in Markdown files. |
e078bb7
to
9937175
Compare
9937175
to
dfda68b
Compare
Integrated hougesen/mdsf as @ccoVeille suggested. |
CC: @hougesen |
Summary
Format Go code snippets in the README with
gofmt
.Changes
mdsf
to check formatting in CI.Motivation
The code should be formatted the same as
gofmt
even in the documentation.