Merge branch 'master' of https://gitee.com/johng/gf into qiangg_gfsnotify_callback

This commit is contained in:
john
2018-11-06 09:50:56 +08:00

View File

@ -41,7 +41,7 @@ func Get(key string) interface{} {
// 设置单例对象
func Set(key string, value interface{}) {
instances.Set(key, key)
instances.Set(key, value)
}
// 当键名存在时返回其键值,否则写入指定的键值