From d8fee735f1f3622c7f991de961d2a40019d34938 Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 25 May 2018 01:15:00 -0500 Subject: [PATCH] lint:missing comment for pub func --- app/rest/cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/rest/cache.go b/app/rest/cache.go index 992c4b24..c279fea0 100644 --- a/app/rest/cache.go +++ b/app/rest/cache.go @@ -17,6 +17,7 @@ type LoadingCache interface { Flush(scopes ...string) } +// CacheKey makes full key from primary key ans scopes func CacheKey(key string, scopes ...string) string { return strings.Join(scopes, "$$") + "@@" + key }