mirror of
https://gitee.com/johng/gf
synced 2026-06-07 10:22:11 +08:00
Merge branch 'master' of https://gitee.com/johng/gf into qiangg_gfsnotify_callback
This commit is contained in:
@ -41,7 +41,7 @@ func Get(key string) interface{} {
|
||||
|
||||
// 设置单例对象
|
||||
func Set(key string, value interface{}) {
|
||||
instances.Set(key, key)
|
||||
instances.Set(key, value)
|
||||
}
|
||||
|
||||
// 当键名存在时返回其键值,否则写入指定的键值
|
||||
|
||||
Reference in New Issue
Block a user