You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submitting a PR (#1461) we encountered an awkward issue when running the format script.
When running it with go1.11 everything looks good, on the other hand, running it with go1.10 will fail the test.
This is due to a documented change of behavior in go fmt between 1.10 and 1.11. golang/go#26228
Ideally the project should use only one version (the latest) of go to run the format script.
Activity
jtopjian commentedon Feb 22, 2019
@elfosardo rewriting the problematic structs to use newlines (which is the more common style anyway) should resolve this problem:
elfosardo commentedon Feb 24, 2019
@jtopjian thanks for the advice! I've pushed a new commit to the mentioned PR, hope Travis will like it :)
elfosardo commentedon Feb 26, 2019
@jtopjian the workaround works fine, feel free to close this issue
elfosardo commentedon Feb 26, 2019
didn't see I could close it :D