remove log

This commit is contained in:
Hoang 2021-12-08 13:47:19 +07:00
parent ac0636e7e9
commit 6e0eeb652b
1 changed files with 0 additions and 7 deletions

7
cache/role.go vendored
View File

@ -3,7 +3,6 @@ package cache
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"log"
"sync" "sync"
"github.com/Selly-Modules/logger" "github.com/Selly-Modules/logger"
@ -47,11 +46,6 @@ func Roles() {
}) })
return return
} }
log.Println("set role", CachedRole{
Role: role.Code,
IsAdmin: role.IsAdmin,
Permissions: rolePermissions,
}) // TODO remove
}(value) }(value)
} }
@ -74,6 +68,5 @@ func GetCachedRole(key string) CachedRole {
"err": err.Error(), "err": err.Error(),
}) })
} }
log.Println("get role", cachedRole) // TODO remove
return cachedRole return cachedRole
} }