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]tools-v2: refactor all *map to map #2541

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

XR-stb
Copy link
Contributor

@XR-stb XR-stb commented Jun 19, 2023

What problem does this PR solve?

Issue Number: #2535

Problem Summary: remove the pointer of map

What is changed and how it works?

What's Changed: remove all *map from struct and function

How it Works:

The map in Golang itself is a reference type and does not need to be declared as a pointer type

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@@ -26,7 +26,6 @@ import (
"fmt"
"time"

"github.com/dustin/go-humanize"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not be deleted

@XR-stb
Copy link
Contributor Author

XR-stb commented Jun 21, 2023

cicheck

2 similar comments
@baytan0720
Copy link
Member

cicheck

@XR-stb
Copy link
Contributor Author

XR-stb commented Jun 21, 2023

cicheck

@XR-stb
Copy link
Contributor Author

XR-stb commented Jun 24, 2023

cicheck

1 similar comment
@XR-stb
Copy link
Contributor Author

XR-stb commented Jun 24, 2023

cicheck

@Cyber-SiKu
Copy link
Contributor

image

git commit --amend -s

@Cyber-SiKu
Copy link
Contributor

cicheck

Signed-off-by: XR-stb <2322882096@qq.com>
@XR-stb
Copy link
Contributor Author

XR-stb commented Jun 25, 2023

cicheck

@Cyber-SiKu Cyber-SiKu merged commit 6e00652 into opencurve:master Jun 26, 2023
3 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.

None yet

4 participants