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

refactor: using maps.Clone to simplify the code #2090

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zhuhaicity
Copy link

This is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.

Signed-off-by: zhuhaicity <zhuhai@52it.net>
Copy link

codecov bot commented Jan 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.99%. Comparing base (939a837) to head (08234b6).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2090   +/-   ##
=======================================
  Coverage   42.99%   42.99%           
=======================================
  Files          85       85           
  Lines       11601    11598    -3     
=======================================
- Hits         4988     4987    -1     
+ Misses       6166     6165    -1     
+ Partials      447      446    -1     
Files with missing lines Coverage Δ
app/app.go 85.91% <100.00%> (-0.08%) ⬇️

... and 1 file with indirect coverage changes

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