From e02749453310668e47e7a339637b4505cd2fe505 Mon Sep 17 00:00:00 2001 From: Andre Sterba <andre.sterba@stud.h-da.de> Date: Fri, 29 Apr 2022 12:39:57 +0000 Subject: [PATCH] Apply suggestions --- controller/interfaces/rbac/rbacService.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/interfaces/rbac/rbacService.go b/controller/interfaces/rbac/rbacService.go index ffb70335d..e5a543e8c 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"` -- GitLab