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

slice: 重构 slice 中使用 equalFunc 的方法 #205

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

flycash
Copy link
Contributor

@flycash flycash commented Aug 14, 2023

  1. 引入 matchFunc
  2. 简化 slice 中查找类型的 API
  3. 引入 Find 和 FindAll 方法

@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #205 (746efd1) into dev (b656686) will increase coverage by 0.26%.
Report is 1 commits behind head on dev.
The diff coverage is 96.87%.

@@            Coverage Diff             @@
##              dev     #205      +/-   ##
==========================================
+ Coverage   95.42%   95.68%   +0.26%     
==========================================
  Files          50       52       +2     
  Lines        2642     2784     +142     
==========================================
+ Hits         2521     2664     +143     
  Misses         93       93              
+ Partials       28       27       -1     
Files Changed Coverage Δ
syncx/cond.go 95.65% <95.65%> (ø)
slice/contains.go 100.00% <100.00%> (ø)
slice/diff.go 100.00% <100.00%> (ø)
slice/find.go 100.00% <100.00%> (ø)
slice/index.go 100.00% <100.00%> (ø)
slice/map.go 100.00% <100.00%> (ø)
slice/symmetric_diff.go 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

1. 引入 matchFunc
2. 简化 slice 中查找类型的 API
3. 引入 Find 和 FindAll 方法
@flycash flycash merged commit 4a09f17 into ecodeclub:dev Aug 14, 2023
7 checks passed
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