mirror of
https://gitee.com/johng/gf
synced 2026-07-07 14:25:17 +08:00
up
This commit is contained in:
@ -26,6 +26,6 @@ func Instance(name ...string) *Resource {
|
||||
key = name[0]
|
||||
}
|
||||
return instances.GetOrSetFuncLock(key, func() interface{} {
|
||||
return New()
|
||||
return NewWithFS(defaultFS)
|
||||
}).(*Resource)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user