Documentation ¶ Index ¶ func GetNullVal(val *wrappers.StringValue) *string func UserInfoToApi(ui *sys.UserInfo, opt UserOpt) *types.UserInfo func UserInfoToRpc(ui *types.UserInfo) *sys.UserInfo type UserOpt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetNullVal ¶ func GetNullVal(val *wrappers.StringValue) *string func UserInfoToApi ¶ func UserInfoToApi(ui *sys.UserInfo, opt UserOpt) *types.UserInfo func UserInfoToRpc ¶ func UserInfoToRpc(ui *types.UserInfo) *sys.UserInfo Types ¶ type UserOpt ¶ added in v1.1.3 type UserOpt struct { Roles []*sys.RoleInfo Tenant *sys.TenantInfo Depts []*sys.DeptInfo } Source Files ¶ View all Source files assemble.go Directories ¶ Show internal Expand all Path Synopsis dept info role self Click to show internal directories. Click to hide internal directories.