Skip to content

Changes in behavior of go fmt in 1.11 #1465

@elfosardo

Description

@elfosardo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions