chore: cache feat & cache refactor #76
Annotations
11 errors
|
cache/respository_test.go#L21
cannot use &mockStore{β¦} (value of type *mockStore) as "github.com/go-packagist/go-kratos-components/contract/cache".Store value in return statement: *mockStore does not implement "github.com/go-packagist/go-kratos-components/contract/cache".Store (wrong type for method Flush)
|
cache/respository_test.go#L40
undefined: valueOf
|
cache/respository_test.go#L79
cannot use (*mockStore)(nil) (value of type *mockStore) as "github.com/go-packagist/go-kratos-components/contract/cache".Store value in variable declaration: *mockStore does not implement "github.com/go-packagist/go-kratos-components/contract/cache".Store (wrong type for method Flush)
|
cache/repository.go#L16
cannot use &Repository{β¦} (value of type *Repository) as "github.com/go-packagist/go-kratos-components/contract/cache".Repository value in return statement: *Repository does not implement "github.com/go-packagist/go-kratos-components/contract/cache".Repository (wrong type for method Delete)
|
cache/repository.go#L30
too many return values
|
cache/repository.go#L34
too many return values
|
cache/manager_test.go#L23
multiple-value m.Connect().Put(ctx, "test", "test", time.Second * 10) (value of type (bool, error)) in single-value context
|
cache/manager_test.go#L35
multiple-value m.Connect("test2").Put(ctx, "test", "test", time.Second * 10) (value of type (bool, error)) in single-value context
|
cache/redis/store_test.go#L41
multiple-value c.Put(ctx, "int", 1, time.Second * 10) (value of type (bool, error)) in single-value context
|
cache/redis/store_test.go#L42
multiple-value c.Put(ctx, "int32", int32(1), time.Second * 10) (value of type (bool, error)) in single-value context
|
The logs for this run have expired and are no longer available.
Loading