[REFACTOR] global variables
Open
refactoring
- Dominant language
- Go
- Stars
- 43
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Some global vars in package model should be encapsulated in a root object
```go
var maskContextFactories []MaskContextFactory
var maskFactories []MaskFactory
```
Contributor guide
Research direction
Start by locating the package model and every use of maskContextFactories and maskFactories. Read how these globals are initialized and accessed, then determine the root object boundary that should own them. The refactor is done when the factories are encapsulated there and the existing behavior remains covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100