Versions in this module Expand all Collapse all v0 v0.0.2 Nov 11, 2024 Changes in this version + var Service *gcache.Cache v0.0.1 Sep 21, 2023 Changes in this version + type CacheHelper struct + Provider ICacheProvider + func (ch *CacheHelper) Get(context context.Context, key string, GetFunc func() interface{}, ...) (interface{}, error) + type ICacheProvider interface + Get func(key string) (interface{}, bool) + Set func(key string, value interface{}, duration time.Duration)