mirror of
https://gitee.com/johng/gf
synced 2026-07-08 22:40:30 +08:00
replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg
This commit is contained in:
@ -19,7 +19,7 @@ var (
|
||||
)
|
||||
|
||||
// Instance returns an instance of Resource.
|
||||
// The parameter <name> is the name for the instance.
|
||||
// The parameter `name` is the name for the instance.
|
||||
func Instance(name ...string) *Resource {
|
||||
key := DefaultName
|
||||
if len(name) > 0 && name[0] != "" {
|
||||
|
||||
Reference in New Issue
Block a user