Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Option Pattern #3

Merged
merged 3 commits into from
Apr 12, 2022
Merged

Implement Option Pattern #3

merged 3 commits into from
Apr 12, 2022

Conversation

rizalgowandy
Copy link
Owner

In order to inject more customize behaviour, implement option pattern.

@github-actions github-actions bot added the enhancement New feature or request label Apr 12, 2022
@github-actions
Copy link
Contributor

Code Metrics Report

main (077bd01) #3 (c78411f) +/-
Coverage 66.7% 65.0% -1.7%
Code to Test Ratio 1:1.5 1:1.5 -0.0
Test Execution Time 18s 22s +4s
Details
  |                     | main (077bd01) | #3 (c78411f) |  +/-  |
  |---------------------|----------------|--------------|-------|
- | Coverage            |          66.7% |        65.0% | -1.7% |
  |   Files             |             12 |           13 |    +1 |
  |   Lines             |            207 |          214 |    +7 |
+ |   Covered           |            138 |          139 |    +1 |
- | Code to Test Ratio  |          1:1.5 |        1:1.5 |  -0.0 |
  |   Code              |            774 |          761 |   -13 |
- |   Test              |           1195 |         1165 |   -30 |
- | Test Execution Time |            18s |          22s |   +4s |

Code coverage of files in pull request scope (77.8% → 74.6%)

Files Coverage +/-
cronx.go 90.7% 0.0%
example/main.go 56.5% -2.2%
interceptor/recover.go 16.7% -3.3%
job.go 93.3% 0.0%
option.go 33.3% +33.3%

Reported by octocov

@rizalgowandy rizalgowandy merged commit bfd7d9a into main Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant