chore: update go-mmkv dependency to v0.1.6 and refactor QMC key merging logic

This commit is contained in:
鲁树人
2026-10-19 23:18:50 +09:00
parent 8864b11d4a
commit 89cd9d13c3
5 changed files with 14 additions and 25 deletions
+10
View File
@@ -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