Skip to content

Start using go fmt and reformat whole Dero source code #125

Description

@Robyer

Since Dero team started accepting code contributions from community, the first thing that should happen is reformatting whole source code with go fmt, which is de-facto standard in the whole Go ecosystem. It is integrated in code editors (e.g. VS Code) and IDEs and is usually applied automatically on save. It doesn't seem to be currently used for Dero source code though.

Since this affects whole codebase, it must be done by @CaptainDero himself (cannot be done via community pull-request as it would break all the potential code in progress in private repositories).

This should be done ASAP, because otherwise every PR will cause reformatting of changed files and the real changes will be harder to see due to formatting noise (as can be seen already in recent PRs, e.g. here), and there is also risk of changes going back and forth if Dero devs continue making changes internally without the go fmt.

And of course, community contributions (PRs) should also be required to be formatted in this standard way.

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