Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

12 lines
227 B
Go

package redis
// 更新filed或insert 更新消息是否已读
func (r *Client) UpSertMap(key string, fileds map[string]interface{}) {
for k, v := range fileds {
if k == "" {
continue
}
r.client.HSet(key, k, v)
}
}