Skip to content

refactor: apply modernize linter suggestions#113

Merged
k1LoW merged 1 commit intomainfrom
modernize
Mar 13, 2026
Merged

refactor: apply modernize linter suggestions#113
k1LoW merged 1 commit intomainfrom
modernize

Conversation

@k1LoW
Copy link
Copy Markdown
Owner

@k1LoW k1LoW commented Mar 13, 2026

Use slices.Contains/ContainsFunc, maps.Copy, strings.SplitSeq, range-over-int, and WaitGroup.Go to satisfy golangci-lint modernize.

Use slices.Contains/ContainsFunc, maps.Copy, strings.SplitSeq,
range-over-int, and WaitGroup.Go to satisfy golangci-lint modernize.
@k1LoW k1LoW self-assigned this Mar 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Code Metrics Report

main (44a6df1) #113 (c923b42) +/-
Coverage 52.8% 52.8% +0.0%
Code to Test Ratio 1:0.5 1:0.5 -0.1
Test Execution Time 28s 28s 0s
Details
  |                     | main (44a6df1) | #113 (c923b42) |  +/-  |
  |---------------------|----------------|----------------|-------|
+ | Coverage            |          52.8% |          52.8% | +0.0% |
  |   Files             |             37 |             37 |     0 |
  |   Lines             |           2941 |           2935 |    -6 |
- |   Covered           |           1555 |           1552 |    -3 |
- | Code to Test Ratio  |          1:0.5 |          1:0.5 |  -0.1 |
  |   Code              |           4570 |           4572 |    +2 |
  |   Test              |           2619 |           2619 |     0 |
  | Test Execution Time |            28s |            28s |    0s |

Code coverage of files in pull request scope (26.1% → 26.0%)

Files Coverage +/- Status
cmd/root.go 22.6% -0.3% modified
internal/server/group.go 100.0% 0.0% modified

Reported by octocov

@k1LoW k1LoW merged commit d9b8ee0 into main Mar 13, 2026
3 checks passed
@k1LoW k1LoW deleted the modernize branch March 13, 2026 04:29
@github-actions github-actions Bot mentioned this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant