CGI-FR / CGI-FR/PIMO

[REFACTOR] global variables

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.