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

feat: add some func to TypeMap #9

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

wzekin
Copy link
Contributor

@wzekin wzekin commented Mar 1, 2023

Motivation

TypeMap 需要更多的 func

Solution

  1. TypeMap 增加 get_mut
  2. Entry 增加 or_insert, or_insert_with_key, and_modify, or_default

@wzekin wzekin requested review from a team as code owners March 1, 2023 03:39
@PureWhiteWu PureWhiteWu merged commit 38c8170 into cloudwego:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants