Closed jordipainan closed 9 months ago
CodeRabbit
This change set primarily focuses on refactoring the import paths across the codebase. The internal
package has been split into helpers
and metrics
packages, and all references have been updated accordingly. This includes changes for lexer
, strategyoperators
, and queue
.
Files | Summary |
---|---|
api/api.go, api/censuses.go, api/helpers.go, api/strategies.go, api/tokens.go | Refactored the import paths to use new packages for metrics and rounded census helpers. Updated references from the internal package to the helpers and metrics packages. |
helpers/strategyoperators/operators.go, helpers/strategyoperators/operators_test.go, helpers/strategyoperators/strategyoperators.go | Changed the import path for the lexer package from github.com/vocdoni/census3/internal/lexer to github.com/vocdoni/census3/helpers/lexer . |
metrics/metrics.go | Changed package name from internal to metrics . |
🐇
In the land of code where the shadows lie,
We refactor, we update, under the cloudless sky.
From
internal
tohelpers
, thenmetrics
we go,Making our codebase a more organized show.
With each pull request, a new dawn begins,
Celebrating changes, that's how everyone wins! 🎉
Uplevel your code reviews with CodeRabbit Pro
### CodeRabbit Pro If you like this project, please support us by purchasing the [Pro version](https://coderabbit.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.
Summary by CodeRabbit
helpers
andmetrics
packages, improving modularity and maintainability.lexer
package in thestrategyoperators
module, enhancing code consistency.internal
package tometrics
, providing a more descriptive name that better reflects its functionality.