While compiling a cosmos sdk project I am getting this
/root/go/pkg/mod/github.com/cosmos/[email protected]/runtime/services/reflection.go:60:28: type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int
This is du to the slices package, as the sortFunc is now returning an int.
How can we do a replace of the slices go package ?
Would you any idea ?