diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-25 17:36:46 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-25 17:36:46 +0300 |
commit | 677a15554a5ccb3138593bb6f0d5a37efc8a32f6 (patch) | |
tree | 0fede892cdceefa26370d753ff2fe724fc0dab3b /internal/source/gitlab/cache/cache.go | |
parent | d2e70a9eb308ba9c7fdec9ed19cb44fa235a0a67 (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.go | 4 |
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{} } |