mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
Merge pull request #1176 from develop1024/master
This commit is contained in:
@ -59,7 +59,7 @@ func Get(name string, def ...interface{}) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Get retrieves and returns the build-in binary variable of given name as gvar.Var.
|
||||
// GetVar retrieves and returns the build-in binary variable of given name as gvar.Var.
|
||||
func GetVar(name string, def ...interface{}) *gvar.Var {
|
||||
return gvar.New(Get(name, def...))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user