feat(chore): adapt to storages
usage of protobuf
#1676
Annotations
10 errors and 1 warning
pkg/storage/defaultProvider.go#L62
v.StaleTime.AsTime undefined (type time.Time has no field or method AsTime)
|
pkg/storage/defaultProvider.go#L85
v.StaleTime.AsTime undefined (type time.Time has no field or method AsTime)
|
pkg/api/souin.go#L75
cannot use &mapping (value of type *core.StorageMapper) as protoreflect.ProtoMessage value in argument to proto.Unmarshal: *core.StorageMapper does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
|
pkg/api/souin.go#L76
mapping.GetMapping undefined (type core.StorageMapper has no field or method GetMapping)
|
pkg/api/souin.go#L86
cannot use timestamppb.New(newFreshTime) (value of type *timestamppb.Timestamp) as time.Time value in assignment
|
pkg/api/souin.go#L162
cannot use mapping (variable of type *core.StorageMapper) as protoreflect.ProtoMessage value in argument to proto.Unmarshal: *core.StorageMapper does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
|
pkg/api/souin.go#L169
mapping.GetMapping undefined (type *core.StorageMapper has no field or method GetMapping)
|
pkg/api/souin.go#L171
mapping.GetMapping undefined (type *core.StorageMapper has no field or method GetMapping)
|
pkg/api/souin.go#L177
cannot use mapping (variable of type *core.StorageMapper) as protoreflect.ProtoMessage value in argument to proto.Marshal: *core.StorageMapper does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading