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

opt: optimize redundant code #103

Merged
merged 5 commits into from
Feb 1, 2023
Merged

Conversation

Charlie17Li
Copy link
Collaborator

Signed-off-by: charlie qianglin98@qq.com

Ⅰ. Describe what this PR did

opt: optimize redundant code

Ⅱ. Does this pull request fix one issue?

fixes #91

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@johnlanni
Copy link
Collaborator

Could you add some UT for it?

@Charlie17Li
Copy link
Collaborator Author

Could you add some UT for it?

ok

pkg/ingress/mcp/generator_test.go Outdated Show resolved Hide resolved
Signed-off-by: charlie <qianglin98@qq.com>
Signed-off-by: charlie <qianglin98@qq.com>
Signed-off-by: charlie <qianglin98@qq.com>
Signed-off-by: charlie <qianglin98@qq.com>
Signed-off-by: charlie <qianglin98@qq.com>
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.

pkg/ingress/mcp 冗余代码基于范型优化(optimize redundant code based on golang generics)
2 participants