Skip to content

Remove dead code #7261

@yurishkuro

Description

@yurishkuro

Requirement

Remove dead code from the repository

Proposal

Use official deadcode tool to identify unused code https://mfbmina.dev/en/posts/golang-deadcode/. It currently lists quite a few functions and packages.

Recommended process

  1. Run deadcode tool and pick ONE package to focus on.
  2. Post a comment to this issue stating which package you're working on
  3. Do not just delete the package / function, do some research first
    • find where (which PR) the function was introduced and what was using it & why
    • ideally find the PR in which that usage was removed without removing the function itself
    • post your findings in the comments to validate with maintainers that it's ok to delete

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issueGood for beginnershelp wantedFeatures that maintainers are willing to accept but do not have cycles to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions