-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance: service quality support patch labels & annotations (#159)
* enhance: service quality support patch labels & annotations Signed-off-by: ChrisLiu <[email protected]> * remove ci markdownlint check Signed-off-by: ChrisLiu <[email protected]> --------- Signed-off-by: ChrisLiu <[email protected]>
- Loading branch information
1 parent
92475c1
commit a1d0065
Showing
8 changed files
with
210 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package util | ||
|
||
func MergeMapString(map1, map2 map[string]string) map[string]string { | ||
if map1 == nil && map2 == nil { | ||
return nil | ||
} | ||
mergedMap := make(map[string]string) | ||
|
||
for key, value := range map1 { | ||
mergedMap[key] = value | ||
} | ||
|
||
for key, value := range map2 { | ||
mergedMap[key] = value | ||
} | ||
|
||
return mergedMap | ||
} |
Oops, something went wrong.