chore: cache feat & cache refactor #76
Annotations
43 errors
go test (1.20.x, ubuntu-latest):
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)
|
go test (1.20.x, ubuntu-latest):
cache/respository_test.go#L40
undefined: valueOf
|
go test (1.20.x, ubuntu-latest):
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)
|
go test (1.20.x, ubuntu-latest):
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)
|
go test (1.20.x, ubuntu-latest):
cache/repository.go#L30
too many return values
|
go test (1.20.x, ubuntu-latest):
cache/repository.go#L34
too many return values
|
go test (1.20.x, ubuntu-latest):
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
|
go test (1.20.x, ubuntu-latest):
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
|
go test (1.20.x, ubuntu-latest):
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
|
go test (1.20.x, ubuntu-latest):
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
|
go test (1.18.x, ubuntu-latest)
The job was canceled because "_1_20_x_ubuntu-latest" failed.
|
go test (1.18.x, ubuntu-latest):
cache/respository_test.go#L21
cannot use &mockStore{β¦} (value of type *mockStore) as type "github.com/go-packagist/go-kratos-components/contract/cache".Store in return statement:
|
go test (1.18.x, ubuntu-latest):
cache/respository_test.go#L40
undefined: valueOf
|
go test (1.18.x, ubuntu-latest):
cache/respository_test.go#L79
cannot use (*mockStore)(nil) (value of type *mockStore) as type "github.com/go-packagist/go-kratos-components/contract/cache".Store in variable declaration:
|
go test (1.18.x, ubuntu-latest):
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
|
go test (1.18.x, ubuntu-latest):
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
|
go test (1.18.x, ubuntu-latest):
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
|
go test (1.18.x, ubuntu-latest):
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
|
go test (1.18.x, ubuntu-latest):
cache/redis/store_test.go#L43
multiple-value c.Put(ctx, "string", "test", time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.18.x, ubuntu-latest):
cache/redis/store_test.go#L44
multiple-value c.Put(ctx, "bool", true, time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.18.x, ubuntu-latest):
cache/redis/store_test.go#L46
multiple-value c.Put(ctx, "time", time.Now(), time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.19.x, ubuntu-latest)
The job was canceled because "_1_20_x_ubuntu-latest" failed.
|
go test (1.19.x, ubuntu-latest):
cache/respository_test.go#L21
cannot use &mockStore{β¦} (value of type *mockStore) as type "github.com/go-packagist/go-kratos-components/contract/cache".Store in return statement:
|
go test (1.19.x, ubuntu-latest):
cache/respository_test.go#L40
undefined: valueOf
|
go test (1.19.x, ubuntu-latest):
cache/respository_test.go#L79
cannot use (*mockStore)(nil) (value of type *mockStore) as type "github.com/go-packagist/go-kratos-components/contract/cache".Store in variable declaration:
|
go test (1.19.x, ubuntu-latest):
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
|
go test (1.19.x, ubuntu-latest):
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
|
go test (1.19.x, ubuntu-latest):
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
|
go test (1.19.x, ubuntu-latest):
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
|
go test (1.19.x, ubuntu-latest):
cache/redis/store_test.go#L43
multiple-value c.Put(ctx, "string", "test", time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.19.x, ubuntu-latest):
cache/redis/store_test.go#L44
multiple-value c.Put(ctx, "bool", true, time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.19.x, ubuntu-latest):
cache/redis/store_test.go#L46
multiple-value c.Put(ctx, "time", time.Now(), time.Second * 10) (value of type (bool, error)) in single-value context
|
go test (1.21.x, ubuntu-latest)
The job was canceled because "_1_20_x_ubuntu-latest" failed.
|
go test (1.21.x, ubuntu-latest):
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)
|
go test (1.21.x, ubuntu-latest):
cache/respository_test.go#L40
undefined: valueOf
|
go test (1.21.x, ubuntu-latest):
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)
|
go test (1.21.x, ubuntu-latest):
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)
|
go test (1.21.x, ubuntu-latest):
cache/repository.go#L30
too many return values
|
go test (1.21.x, ubuntu-latest):
cache/repository.go#L34
too many return values
|
go test (1.21.x, ubuntu-latest):
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
|
go test (1.21.x, ubuntu-latest):
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
|
go test (1.21.x, ubuntu-latest):
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
|
go test (1.21.x, ubuntu-latest):
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
|