pingcap / pingcap/tidb

issue for scattered refactor related PR

Open
#57,275 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
issue for scattered refactor related PR, those refactors might **NOT** focus on some specific functions, so use this issue for them, such as
- make some literal a const
- make group of literals a enum
- moving structs or files to a better position
- renaming structs or files to a better name

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named, and the issue groups several unrelated refactor types. Start by selecting one concrete refactor and locating the affected Go package and its existing tests. Done should mean the selected literals, enums, structs, or files are reorganized or renamed without changing behavior, with the relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.