mirror of
https://git.um-react.app/um/cli.git
synced 2026-10-21 22:13:02 +00:00
chore: update go-mmkv dependency to v0.1.6 and refactor QMC key merging logic
This commit is contained in:
@@ -11,6 +11,16 @@ import (
|
||||
|
||||
type QMCKeys map[string]string
|
||||
|
||||
func MergeQMCKeys(keys ...QMCKeys) QMCKeys {
|
||||
result := make(QMCKeys)
|
||||
for _, k := range keys {
|
||||
for key, value := range k {
|
||||
result[utils.NormalizeUnicode(key)] = utils.NormalizeUnicode(value)
|
||||
}
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
type CryptoParams struct {
|
||||
// KuGou kgg database path
|
||||
KggDbPath string
|
||||
|
||||
Reference in New Issue
Block a user