Versions in this module Expand all Collapse all v1 v1.2.0 Dec 30, 2014 v1.1.0 Nov 28, 2014 Changes in this version + var IsUserLogin = func(ctx *context.Context) + func GetAll() *[]Tenant + func GetChildOrgs(parentId string) *[]Org + func GetMyQun(userId string) *[]Qun + func GetOrgUsersById(orgId string) *[]User + func GetOrgsByParentId(parentId string) *[]Org + func GetRootOrg(tenantId string) *[]Org + type Org struct + Id string + Location string + Name string + ParentId string + ShortName string + Sort int + TenantId string + type Qun struct + Avatar string + Created time.Time + CreatorId string + Description string + Id string + MaxMember string + Name string + Updated time.Time + type QunUser struct + Created time.Time + Id string + QunId string + Sort int + Updated time.Time + UserId string + type Tenant struct + Code string + Created time.Time + CustomerId string + Id string + Name string + Status int + Updated time.Time + type User struct + Area string + Avatar string + Created time.Time + Email string + Id string + Level int + Mobile string + Name string + NamePy string + NameQuanpin string + Nickname string + Password string + Rand int + Status int + TenantId string + Updated time.Time + func GetUserByNameTenantId(userName, tenantId string) *User