Versions in this module Expand all Collapse all v0 v0.1.5 Feb 19, 2021 v0.1.4 Feb 19, 2021 Changes in this version + func Cfg(name ...string) *gcfg.Config + func Client() *ghttp.Client + func Config(name ...string) *gcfg.Config + func DB(name ...string) orm.DB + func Database(name ...string) orm.DB + func Dump(i ...interface{}) + func Export(i ...interface{}) string + func GetLogLevel() int + func I18n(name ...string) *gi18n.Manager + func IsEmpty(value interface{}) bool + func IsNil(value interface{}, traceSource ...bool) bool + func Listen() + func Log(name ...string) *glog.Logger + func Model(tables string, db ...string) *orm.Model + func Redis(name ...string) *gredis.Redis + func Res(name ...string) *gres.Resource + func Resource(name ...string) *gres.Resource + func Server(name ...interface{}) *ghttp.Server + func SetDebug(enabled bool) + func SetLogLevel(level int) + func SetServerGraceful(enabled bool) + func TCPServer(name ...interface{}) *gtcp.Server + func Table(tables string, db ...string) *orm.Model + func Throw(exception interface{}) + func Try(try func()) (err error) + func TryCatch(try func(), catch ...func(exception error)) + func UDPServer(name ...interface{}) *gudp.Server + func View(name ...string) *gview.View + func Wait() + type Array = []interface + type ArrayAny = []interface + type ArrayInt = []int + type ArrayStr = []string + type List = []Map + type ListAnyAny = []MapAnyAny + type ListAnyBool = []MapAnyBool + type ListAnyInt = []MapAnyInt + type ListAnyStr = []MapAnyStr + type ListIntAny = []MapIntAny + type ListIntBool = []MapIntBool + type ListIntInt = []MapIntInt + type ListIntStr = []MapIntStr + type ListStrAny = []MapStrAny + type ListStrBool = []MapStrBool + type ListStrInt = []MapStrInt + type ListStrStr = []MapStrStr + type Map = map[string]interface + type MapAnyAny = map[interface{}]interface + type MapAnyBool = map[interface{}]bool + type MapAnyInt = map[interface{}]int + type MapAnyStr = map[interface{}]string + type MapIntAny = map[int]interface + type MapIntBool = map[int]bool + type MapIntInt = map[int]int + type MapIntStr = map[int]string + type MapStrAny = map[string]interface + type MapStrBool = map[string]bool + type MapStrInt = map[string]int + type MapStrStr = map[string]string + type Slice = []interface + type SliceAny = []interface + type SliceInt = []int + type SliceStr = []string + type Var = gvar.Var + func NewVar(i interface{}, safe ...bool) *Var