diff --git a/controller/interfaces/rbac/rbacService.go b/controller/interfaces/rbac/rbacService.go index ffb70335d64a150607334cebcfdb4a893a01770a..e5a543e8ce69a1e5237906ec225e675271ad6d72 100644 --- a/controller/interfaces/rbac/rbacService.go +++ b/controller/interfaces/rbac/rbacService.go @@ -13,7 +13,7 @@ type UserService interface { GetAll() ([]User, error) } -//LoadedUser represents a User that was loaded +// LoadedUser represents a User that was loaded type LoadedUser struct { ID string `json:"_id" bson:"_id"` UserName string `json:"username"` @@ -31,7 +31,7 @@ type RoleService interface { GetAll() ([]Role, error) } -//LoadedRole represents a Role that was loaded +// LoadedRole represents a Role that was loaded type LoadedRole struct { ID string `json:"_id" bson:"_id"` RoleName string `json:"rolename"`