Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-25 17:36:46 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-25 17:36:46 +0300
commit677a15554a5ccb3138593bb6f0d5a37efc8a32f6 (patch)
tree0fede892cdceefa26370d753ff2fe724fc0dab3b /internal/source/gitlab/cache/cache.go
parentd2e70a9eb308ba9c7fdec9ed19cb44fa235a0a67 (diff)
Make it possible to pass client config to gitlab source
Diffstat (limited to 'internal/source/gitlab/cache/cache.go')
-rw-r--r--internal/source/gitlab/cache/cache.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/source/gitlab/cache/cache.go b/internal/source/gitlab/cache/cache.go
index cd95c82f..95c4c57b 100644
--- a/internal/source/gitlab/cache/cache.go
+++ b/internal/source/gitlab/cache/cache.go
@@ -4,7 +4,7 @@ package cache
type Cache struct {
}
-// NewCache creates a new instance of Cache and sets default expiration
-func NewCache() *Cache {
+// New creates a new instance of Cache and sets default expiration
+func New() *Cache {
return &Cache{}
}