Skip to content

Automate code formatting, tool installation in make #27

@juliaogris

Description

@juliaogris

We should probably have a make target for formatting go code (currently the contributors have their editors set up accordingly). Along with it we should have make targets checking that the code is formatted, e.g.:

 make fmt
 make check-fmt

According to a PR conversation, we might want to use an extension to gofumports for code formatting. We might want to consider moving this extension into a separate script files directory, maybe even repository.

We might also want to consider adding:

 make get-tools

To download gofumports and|or scripts.

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