From 6e0eeb652b38aa0b3edf5da185efe0c326328379 Mon Sep 17 00:00:00 2001 From: Hoang Date: Wed, 8 Dec 2021 13:47:19 +0700 Subject: [PATCH] remove log --- cache/role.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cache/role.go b/cache/role.go index 4adf5e1..5274868 100644 --- a/cache/role.go +++ b/cache/role.go @@ -3,7 +3,6 @@ package cache import ( "context" "encoding/json" - "log" "sync" "github.com/Selly-Modules/logger" @@ -47,11 +46,6 @@ func Roles() { }) return } - log.Println("set role", CachedRole{ - Role: role.Code, - IsAdmin: role.IsAdmin, - Permissions: rolePermissions, - }) // TODO remove }(value) } @@ -74,6 +68,5 @@ func GetCachedRole(key string) CachedRole { "err": err.Error(), }) } - log.Println("get role", cachedRole) // TODO remove return cachedRole }