Skip to content
Snippets Groups Projects

mod: Merge duplicated module imports

Open Warren Gifford requested to merge github/fork/blanet/xx/merge-duplicate-imports into main

Created by: blanet

I found some module duplications which may be imported earlier without detailed comparison with go.mod. Which makes the project kind of messy. Specifically,

  • We use github.com/cespare/xxhash/2 in go code but its elder version in related tests.
  • Both github.com/peterbourgon/ff/v3 and its elder version are used to construct cmdline tools.

This commit merges the two duplicated imports above and refactors some necessary code.

Test plan

CI

Merge request reports

Pipeline #9 failed

Pipeline failed on github/fork/blanet/xx/merge-duplicate-imports

Approval is optional
The source branch github/fork/blanet/xx/merge-duplicate-imports does not exist. Please restore it or use a different source branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Warren Gifford restored source branch github/fork/blanet/xx/merge-duplicate-imports

    restored source branch github/fork/blanet/xx/merge-duplicate-imports

Please register or sign in to reply
Loading